Stencyl 3.4.0 is now out. Get it now!

Dynamic custom event trigger?

VoidShard

  • Posts: 53
This will not allow me to compile.
The specific error is here:
Code: [Select]
Events for 'Menu': Unknown identifier : _customEvent_StringTools
from scripts.ActorEvents_9
line: 406
columns: 9-33
Events for 'Menu': Unknown identifier : _customEvent_
from scripts.ActorEvents_9
line: 476
columns: 5-18

So, what do I do? Do I write down all 15 of my if/else if statements?
Is there a way to compile anyway?

VoidShard

  • Posts: 53
I wrote down all 15. No big deal, I suppose.

rob1221

  • *
  • Posts: 8912
Try one of the other blocks specific to actor behaviors as the one you're using only accepts raw code and does not accept any attributes.