- Joined
- Jul 17, 2013
- Messages
- 544
-
nienazwany chuj
-
Events
- Time - Every 0.99 seconds of game time
- Conditions
-
Actions
- Set TempUnitGroup = (Units of type TradePort)
-
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
-
Loop - Actions
- Set Picked_Copy = (Picked unit)
-
Unit Group - Pick every unit in (Units within 360.00 of (Position of (Picked unit))) and do (Actions)
-
Loop - Actions
- Set Picked = (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Picked unit)) Not equal to (Owner of Picked_Copy)
- ((Owner of (Picked unit)) is an ally of (Owner of Picked_Copy)) Equal to True
- (Unit-type of (Picked unit)) Equal to MerchantShip
-
Then - Actions
- Player - Add 600 to (Owner of Picked_Copy) Current gold
- Unit - Remove (Picked unit) from the game
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
Loop - Actions
- Custom script: call DestroyGroup(udg_TempUnitGroup)
-
Events