- Joined
- Oct 18, 2008
- Messages
- 955
Since you can't order a unit to cast item based abilites in GUI i need a custom script. The ability is based on dust of appearance.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hero - Order (Triggering unit) to use (Item carried by (Triggering unit) of type X)
Custom script: call UnitUseItemPoint (GetTriggerUnit(), GetItemOfTypeFromUnitBJ (GetTriggerUnit(), 'dust'), GetLocationX(udg_yourlocation), GetLocationY(udg_yourlocation))
Custom script: call IssuePointOrderById (GetTriggerUnit(), 'dust', GetUnitX(udg_Unit), GetUnitY(udg_Unit))
Set Unit = (your unit 000 <gen>)
Custom script: call IssuePointOrderById (udg_Unit, 'dust', GetUnitX(udg_Unit), GetUnitY(udg_Unit))
Custom script: call IssueImmediateOrderById (GetTriggerUnit(), 'dust')
Custom script: call IssueImmediateOrderById (udg_TempUnit3(), 'dust')
Custom script: call IssueImmediateOrderById (udg_TempUnit3, 'dust')
Custom script: call IssueImmediateOrderById (udg_TempUnit3, 852625)
