- Joined
- Nov 14, 2004
- Messages
- 159
What I have done is I have made Neutral Passive building called "Bank", and sell dummy unit named "5 Teal" and "20 Teal". And some triggers with "if unit entered region, unit equal to 5 Teal, then remove unit and give 5 golds to Teal" and so on.
But problem is if Teal player is not in game or left game, that dummy unit is still for sale. I'm trying to make initalization (and rematch) trigger to detect that player is not used or left the game, then remove "5 Teal" and "20 Teal" unit from Bank.
But they do not work, they are STILL being sold. I need help with making trigger that remove selling units out of neutral building.
But problem is if Teal player is not in game or left game, that dummy unit is still for sale. I'm trying to make initalization (and rematch) trigger to detect that player is not used or left the game, then remove "5 Teal" and "20 Teal" unit from Bank.
Code:
RemoveBankUnit
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player 3 (Teal) slot status) Equal to Is unused) or ((Player 3 (Teal) slot status) Equal to Has left the game)
Then - Actions
Neutral Building - Remove 5 TEAL from all marketplaces
Neutral Building - Remove 20 TEAL from all marketplaces
Else - Actions
But they do not work, they are STILL being sold. I need help with making trigger that remove selling units out of neutral building.