Fangames > Programming Questions

Multiple triggers for one instance?

(1/1)

128-Up:
Is it possible to have, say, one spike be affected by more than one trigger to make something akin to Floor 99 in NANG? I've tried to do it myself, but the objects seem to only consider the trigger conditions written last.

(Engine: Lemon for 8.0)

Sephalos:
I think at that point you'd have to make a new spike object for that particular instance or you'd have to code all the spikes and triggers to work with multiple variables. In the latter case it would mean that when a triggered spike reaches a destination or a object that would stop them and would reset its state from being active to not being active.

lawatson:
You can try the stinkycheese triggers, where you set the trigger's ID and make it do an action on a playerKiller object with a matching ID.


Navigation

[0] Message Index

Go to full version