• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Can I convert an string variable into a custom script?

Status
Not open for further replies.
Level 13
Joined
Mar 24, 2013
Messages
1,105
If you want to use a string you can use the other native

JASS:
native IssueTargetOrder takes unit whichUnit, string order, widget targetWidget returns boolean

But the issue is that the variable does not need to be surrounded by "". The variable needs to be the whole expression "move". It cannot be move and then surround the variable with "".
 
Status
Not open for further replies.
Top