Jump to content
  • entries
    18
  • comments
    41
  • views
    13749

A spacial WTF brought to you by Papyrus


darkconsole

1175 views

 


dcc_sgo_QuestController.psc(1184): no viable alternative at input 'x'

self.ActorGemGetInventory(Who,(x-1))


ok...

self.ActorGemGetInventory(Who,(x - 1))

 


Batch compile of 1 files finished. 1 succeeded, 0 failed.

 


you're shitting me, right? rofl. hashtag bethesda pwns.

4 Comments


Recommended Comments

Guest Retired

Posted

You have no idea how many times I had to fix script errors like this one.

Ashal

Posted

My favorite is how you can compile functions with array arguments defaulted to none with no problem, but you can't compile anything that uses that function's argument default, making it useless.

Guest Retired

Posted

And what about a function defined like:

Actor[] Function IAmEmpty(String SomeParam)

 return None

EndFunction

 

And then you try:

 

Actor[] myActors = IAmEmpty()

 

And the papyrus log tells you that an array cannot be cast to None.

Earen

Posted

Papyrus inforces coding style, y'see

 

int y = omg + 1
int omg = 1
×
×
  • Create New...