Jump to content
  • entries
    17
  • comments
    41
  • views
    12,057

A spacial WTF brought to you by Papyrus


darkconsole

936 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.

Link to comment

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.

Link to comment
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.

Link to comment
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use