- Joined
- Jun 23, 2011
- Messages
- 70
I really have no decent way of testing it in worldedit... is this properly set?
-
LoadHorse
-

Events
-


Unit - A unit enters Horse Region <gen>
-
-

Conditions
-


((Triggering unit) belongs to an enemy of Player 1 (Red)) Equal to True
-


HorseisLoading Equal to 1
-
-

Actions
-


Unit - Remove (Triggering unit) from the game
-


Set HorseContents = (HorseContents + 1)
-


Game - Display to (All enemies of Player 1 (Red)) the text: (Units in Horse: + ((String(HorseContents)) + /50))
-


Set ControlTracker[HorseContents] = (Player number of (Triggering player))
-


Set ControlTypeTracker[HorseContents] = (Unit-type of (Triggering unit))
-
-
-
HorseComplete
-

Events
-


Unit - A unit enters Region 008 <gen>
-
-

Conditions
-


(Triggering unit) Equal to Horse
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




WhatRinHorse Equal to 1
-
-



Then - Actions
-




Unit - Create 1 ControlTypeTracker[UnloadCounter] for (Player(ControlTracker[UnloadCounter])) at (Center of Region 008 <gen>) facing Default building facing degrees
-




Set UnloadCounter = (UnloadCounter + 1)
-




Wait 0.01 seconds
-
-
-
-




