Hello, I use this trigger to store an order:
i have never used jass before so i think the problem is in the custom script part, tahnk u for help
-
Order Adding Point
-
Events
- Unit - A unit Is issued an order targeting a point
- Conditions
-
Actions
- Hashtable - Save (String((Issued order))) as IssuedOrder of (Key (Ordered unit)) in KnockbackedUnits
- Hashtable - Save Handle Of(Point((X of (Target point of issued order)), (Y of (Target point of issued order)))) as TargetPointOrdered of (Key (Ordered unit)) in KnockbackedUnits
- Hashtable - Save point as TypeOfOrder of (Key (Ordered unit)) in KnockbackedUnits
-
Events
- Custom script: call IssuePointOrderLocBJ( GetEnumUnit(), "LoadStr(udg_IssuedOrder, GetHandleId(GetEnumUnit()), udg_KnockbackedUnits)", LoadLocationHandleBJ(udg_TargetPointOrdered, GetHandleId(GetEnumUnit()), udg_KnockbackedUnits) )
i have never used jass before so i think the problem is in the custom script part, tahnk u for help