Author Topic: Event help!  (Read 821 times)

 Okay, i'm making a deathrun and i'm trying to make one of my traps change events when activated. for example when a button is activated the plate changes events so if a player touches it, it kills.

How will i be able to do that?
What events do i need?

i tried using zone bricks and the event 'onPlayerEnterZone' but it doesn't work. cause if the player is already in the zone it doesn't kill.

if someone can help THAT WOULD BE AMAZING! :DD

On the plate that kills.
Have it named DeathPlate or something.
Code: [Select]
0 [ ] [0] OnPlayerTouch > Player > Kill
The brick you activate.
Code: [Select]
0 [x] [0] OnActivate > Named Brick [DeathPlate] > ToggleEventEnabled [ 0 ]
1 [x] [0] OnActivate > Self > Disappear [-1]
2 [x] [0] OnMinigameReset > Self > Disappear [0]
3 [x] [5000] OnActivate > Named Brick [DeathPlate] > ToggleEventEnabled [ 0 ]
Line zero toggles DeathPlate's Kill event enabled, then the first line makes the brick disappear.
The second line makes it re-appear when the minigame resets.
Third disables the kill event after three seconds.

Thank you so much, i really mean it :D