Author Topic: DoEvent  (Read 750 times)

Should be easy. Example=
0 OnActivate Self DoEvent [1]
1 OnPlayerTouch Self Yadayadayada

Basically, calls the booled event no matter what its input. Would be handy with NamedBrick.


0: onItemPickup -> Self -> doEvent -> 1
1: onPlayerTouch -> Player -> DoBurn -> 3


How would the game know who "-> Player ->" was?

0 onActivate Self doEvent 1
1 onPlayerTouch Self doEvent 0


0: onItemPickup -> Self -> doEvent -> 1
1: onPlayerTouch -> Player -> DoBurn -> 3


How would the game know who "-> Player ->" was?
Whoever picked the item up?

Whoever picked the item up?

How would it tell the input that when the event doesn't discriminate information?


setEventEnabled then fireRelay?
PrintCountOverflows/Underflows?


Sorry, I like defaults  :cookieMonster:

Sorry, I like defaults  :cookieMonster:

Agreed. Otherwise, you change servers and everything might be broken.

Or we have "DoSub". I think?

Or we have "DoSub". I think?
Yes, but I want this to work no matter what the input for the event. So instead of having to use OnSub, you could use any input with DoEvent.

Variables are capable of that.
If you give us an example of what you want to do, we could probably whip up some events for you.