- Joined
- Mar 15, 2005
- Messages
- 79
Hello, I've been making a riddle map and my final riddle involves making certain colors of lightning to trigger a final lightning to destroy a obelisk in the middle of the map to open a gate for you to escape.
Heres the code for the Red lightning
However when ever i kill the lever, nothing happens, Im not sure why not. I see no errors in the triggers but.... If anyone could help thanks
Heres the code for the Red lightning
Events
Destructible - Lever 1616 <gen> dies
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RedLightning Equal to 0
Then - Actions
Lightning - Create a Drain Life lightning effect from source (Position of Obelisk (large) 0013 <gen>) to target (Position of Obelisk (large) 0050 <gen>)
Lightning - Change color of (Last created lightning effect) to (255.00 0.00 0.00) with 1.00 alpha
Lightning - Create a Drain Life lightning effect from source (Position of Obelisk (large) 0050 <gen>) to target (Position of Obelisk (large) 0013 <gen>)
Lightning - Change color of (Last created lightning effect) to (255.00 0.00 0.00) with 1.00 alpha
Set RedLightning = 1
Else - Actions
Lightning - Destroy (Last created lightning effect)
Lightning - Destroy (Last created lightning effect)
Set RedLightning = 0
However when ever i kill the lever, nothing happens, Im not sure why not. I see no errors in the triggers but.... If anyone could help thanks