Hey, the following code doesn't work. It is suppose to cast a Sentry Ward to a random point in a region.
Trigger:
- Unit - Create 1 King Caster for Neutral Hostile at (Center of innerCenterArea <gen>) facing Default building facing degrees
- Set kingCaster = (Last created unit)
- Unit - Add Sentry Ward to kingCaster
- Unit - Order kingCaster to Orc Witch Doctor - Sentry Ward (Random point in innerCenterArea <gen>)