Author Topic: Multiple triggers for one instance?  (Read 1257 times)

128-Up

  • Spike Dodger
  • Posts: 114
  • Lives are an antiquated concept.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 40.0.2214.115 Chrome 40.0.2214.115
    • View Profile
  • Playstyle: Keyboard
Multiple triggers for one instance?
« on: March 08, 2015, 10:26:12 AM »
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

  • Spike Dodger
  • Posts: 228
  • OS:
  • Windows Vista/Server 2008 Windows Vista/Server 2008
  • Browser:
  • Chrome 40.0.2214.115 Chrome 40.0.2214.115
    • View Profile
  • Playstyle: Gamepad
Re: Multiple triggers for one instance?
« Reply #1 on: March 08, 2015, 10:42:58 AM »
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.
« Last Edit: March 08, 2015, 10:47:33 AM by Sephalos »

lawatson

  • The Kid
  • Posts: 331
  • I do things and I make things.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 41.0.2272.76 Chrome 41.0.2272.76
    • View Profile
  • Playstyle: Keyboard
Re: Multiple triggers for one instance?
« Reply #2 on: March 08, 2015, 11:05:17 AM »
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.


(click to show/hide)

smoke weed everyday