anyway to basically say (if minerals are 0, then do action), for some reason I cant make a variable that represents the amount of minerals (as in I dont know how to make a trigger that adds the amount of new minerals being harvested to itself) nor does it let me say flat out if minerals = 0.
The function is called get player property I believe, after having chosen it you can enter which player property you want to check, in this case minerals.
Players Minerals hits Zero
Events
Player - Player (Integer(Any Player)) Minerals changes
Local Variables
Conditions
(Player (Triggering player) Minerals) <= 0
Actions
UI - Display (Text((Triggering player))) for (All players) to Subtitle area
the "(Integer(Any Player))" is actually "Convert Preset to Integer" then select "Any Player" from the Preset Tab
the UI - Display was just me testing, you can take that out
anyway to basically say (if minerals are 0, then do action), for some reason I cant make a variable that represents the amount of minerals (as in I dont know how to make a trigger that adds the amount of new minerals being harvested to itself) nor does it let me say flat out if minerals = 0.
anyone have any suggestions?
for the condition, make a Comparison and have the first value (Integer(Player 1 Minerals) = 0
@xf11: Go
Amount of minerals a player has can be gotten by checking the player property minerals.
Minerals are actually real, not integer btw
where is that?
@xf11: Go
The function is called get player property I believe, after having chosen it you can enter which player property you want to check, in this case minerals.
@xf11:
Players Minerals hits Zero
Events
Player - Player (Integer(Any Player)) Minerals changes
Local Variables
Conditions
(Player (Triggering player) Minerals) <= 0
Actions
UI - Display (Text((Triggering player))) for (All players) to Subtitle area
the "(Integer(Any Player))" is actually "Convert Preset to Integer" then select "Any Player" from the Preset Tab
the UI - Display was just me testing, you can take that out
@xf11: Go
solved it, just made a trigger that basically is this
Variable - Set (variable name) = Player 1 Minerals
ez does it, thanks anyways though