Blockland Forums > Suggestions & Requests
VCE_ModifyVariableAll and VCE_IfVariableAny
Pages: (1/1)
Gen. Hothauser:
I have requested this twice before, and (I think) was worked on for a bit by someone, but was never finished. Could someone make it?
Description:
This output event modifies the specified variable of all players.
Example:
--- Code: ---[Onrelay] [Minigame] [VCE_ModifyVariableAll] [Hunger] [Subtract] [1]
--- End code ---
In the above example, every time a brick fires a relay, every minigame-engaged person's Hunger variable loses an amount of 1.
IfVariableAny would check if anyone's variable is the specified amount
Example:
--- Code: ---[2] [Onrelay] [Minigame] [VCE_IfVariableAny] [Hunger] [==] [0] [3 3]
[3] [OnVariableTrue] [Player] [Respawn]
--- End code ---
In the above example, when a relay is fired, a conditional is set up where if any player's Hunger variable dips to 0, they are respawned.
-HAD-:
This needs to be maade..
hopefully... :panda:
TristanLuigi:
Support.
All of it.
Pages: (1/1)