Code:
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) slot status) Equal to Is playing
((Picked player) controller) Equal to User
Then - Actions
Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Unit-type of (Picked unit)) is A structure) Equal to True
Then - Actions
Unit Group - Add (Picked unit) to _income_uni_ground[(Player number of (Owner of (Picked unit)))]
Set _income_player_integer[(Player number of (Owner of (Picked unit)))] = ((Number of units in _income_uni_ground[(Player number of (Owner of (Picked unit)))]) - 4)
Game - Display to (Player group((Triggering player))) the text: (_player_color[(Player number of (Owner of (Picked unit)))] + ((Name of (Owner of (Picked unit))) + (|r income: + (|cffffcc00 + ((String(_income_player_integer[(Player number of (Owner of (Picked unit)))])) + |r)))))
Else - Actions
Else - Actions
Why is this trigger showing the text 4 times?