G
GoodAnalogy
Guest
Hey
Here's my problem.
I created an item with the Flare ability that is perishable.
When the hero uses the item, I want a unit to be created at a certain region and given the order to follow the hero that used the item.
My (failing)code so far:
Conditions:
-(Item carried by (Triggering unit) of type MB Flare) Equal to (Item being manipulated)
Actions:
-Unit - Create 1 Shade for (Triggering player) at (Center of Spawn Shade <gen>) facing Default building facing degrees
-Unit - Order (Last created unit) to Right-Click (Triggering unit)
-Unit - Order (Last created unit) to Right-Click (Triggering unit)
The region Spawn Shade isn't off the playable area; yet the Shade unit never spawns. So, the problem probably lies with the Condition.
Can someone please help me on this one?
Here's my problem.
I created an item with the Flare ability that is perishable.
When the hero uses the item, I want a unit to be created at a certain region and given the order to follow the hero that used the item.
My (failing)code so far:
Conditions:
-(Item carried by (Triggering unit) of type MB Flare) Equal to (Item being manipulated)
Actions:
-Unit - Create 1 Shade for (Triggering player) at (Center of Spawn Shade <gen>) facing Default building facing degrees
-Unit - Order (Last created unit) to Right-Click (Triggering unit)
-Unit - Order (Last created unit) to Right-Click (Triggering unit)
The region Spawn Shade isn't off the playable area; yet the Shade unit never spawns. So, the problem probably lies with the Condition.
Can someone please help me on this one?


