• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] IssuePointOrder not working

Status
Not open for further replies.

Sverkerman

Hosted Project: BoW
Level 17
Joined
Feb 28, 2010
Messages
1,325
Hi!

I'm using "call IssuePointOrderLoc (udg_Temp_Unit, 'A04T', udg_Point_CastFakeSpells)"
But it doesn't want to use A04T.
A04T is a spell that targets an area, what should I use instead?

Thanks! +4 rep to helpers ;)
 
Level 16
Joined
Mar 25, 2016
Messages
1,327
JASS:
native IssuePointOrderLoc takes unit whichUnit, string order, location whichLocation returns boolean
There is no integer in that native. Are you sure you are using IssuePointOrderLoc and not IssuePointOrderByIdLoc?
The ById version uses integer instead of strings. The integer is something like 852085 and harder to find out than the string, so I prefer to use strings most of the times.
 
Status
Not open for further replies.
Top