Blockland Forums > Help

Variable Event Timer

Pages: << < (2/2)

seargent227:


--- Quote from: phflack on May 26, 2009, 07:30:01 PM ---onrelay>self>firerelay(delay5sec)
onrelay>self>addvariable[whateverit'snamed][1]

--- End quote ---


wont that just add variables not decrease variables?


boodals 2:


--- Quote from: Steemer on May 26, 2009, 10:50:55 PM ---Forgot to add this, but if i wanted it to happen to the player how would i do it?

--- End quote ---

--- Quote from: phflack on May 26, 2009, 07:30:01 PM ---onrelay>self>firerelay(delay5sec)
onrelay>player>addvariable[whateverit'snamed][1]

--- End quote ---
Also Targeting the Player make you loose the Varriable when you die. Targeting the Client makes it stay to them untill they leave. (Thats why theres Saving/Loading Varriables)

boodals 2:

Edit button gone?

Forgot you cant target the Player with Relays..
OnRelay>Self>FireRelay (With 5 sec Delay)
OnRelay>Self>IfPlayerID>GreaterEquals>0
VarriableTrue>Player>AddVarriable>[NAME]>-1

That is a little complex method to target the Player, but it will only work for one player unless another player activates the Relay, or a CancelEvents is played.

phflack:


--- Quote from: seargent227 on May 27, 2009, 09:30:37 AM ---
wont that just add variables not decrease variables?


--- End quote ---
oops, i ment -1

Pages: << < (2/2)

Go to full version