- Joined
- Nov 20, 2006
- Messages
- 71
-
Far Sight
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Far Sight
-
Actions
- Set FarSightUnit = (Triggering unit)
- Set Temp_Pt = (Position of FarSightUnit)
- Unit - Create 1 Shaman for Player 1 (Red) at Temp_Pt facing Default building facing degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Set Dummy = (Last created unit)
- Custom script: call UnitAddAbility(udg_Dummy,'A002')
- Custom script: call IssueTargetOrderById(udg_Dummy,'A002',udg_FarSightUnit)
- Custom script: call RemoveLocation(udg_Temp_Pt)
-
Events
Edit: Solved. The issue was that there was no order ID when IssueTargetOrderByID was called. In this case, A002 is an ability ID, not an order ID. To find an order ID for an ability you can use edo494's method below.
Last edited: