Calibrator
New Member
- Reaction score
- 1
When the game first starts, how can i make a trigger so that if someone (player) isnt playing, it will remove their unit? Its a maze map, so i think youll know what i mean. Only one unit per person.
When the game first starts, how can i make a trigger so that if someone (player) isnt playing, it will remove their unit? Its a maze map, so i think youll know what i mean. Only one unit per person.
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
If ((Player 1 (Red) slot status) Equal to Is playing) then do (Do nothing) else do (Unit - Remove Footman 0001 <gen> from the game)
also if you want there unit to be removed when they leave and not just at start up:
Untitled Trigger 002
Events
Player - Player 1 (Red) leaves the game
Conditions
Actions
Unit - Remove Footman 0001 <gen> from the game
also if multiple units:
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game