Order variable

Frizz.Meister

New Member
Reaction score
0
We all know what variables are but im stuck with one. Im trying to save an order to a variable (no problem here). BUT i then want to issue that order to a unit after a 6 second wait. What command can be used for this as it isnt in GUI and all jass commands i can think of are for specific point targeted orders or unit targeted ect.

Please help!
 

Komaqtion

You can change this now in User CP.
Reaction score
469
What order is it ?

These are a couple:
JASS:
native IssueTargetOrder takes unit whichUnit, string order, widget targetWidget returns boolean


JASS:
native IssuePointOrder takes unit whichUnit, string order, real x, real y returns boolean


JASS:
native IssuePointOrderLoc takes unit whichUnit, string order, location whichLocation returns boolean


JASS:
native IssueImmediateOrder takes unit whichUnit, string order returns boolean


Those were just a couple, will give you better ones when you tell us what order it is ;)
 

Frizz.Meister

New Member
Reaction score
0
A simple attack move but is in the form of a udg_MyOrder

EDIT: I know those natives but how to implement my variable?
 

Frizz.Meister

New Member
Reaction score
0
Its as simple as using a point order native if the global is a point order and a unit target native if the global is a unit target order? Wow i cant believe i couldnt work this out myself. Thanks

+rep
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Yeah that's it ;) You probably could've figured it out eventually :thup:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top