• 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.

[Trigger] Moving/issuing orders in UMSWE

Status
Not open for further replies.
Level 6
Joined
Aug 27, 2011
Messages
305
trere's a problem. i've been using standart WE, but now i've downloaded new version(UMS WE) and i don't know how to move units to the point and ussue orders targeting points. the editor says i must save the point as variable end then use it, but even with using variables i cannot move/issue orders. Please help!
 
Level 6
Joined
Aug 27, 2011
Messages
305
if i remember right at the top of the trigger screen there is an option that says dissable triggers if i remember correclty there is an option somewhere near it

man, i don't want to disable trigger. please, read more attentively

please, tell me how to move instantly(facing angle) and how to issue point-targeted orders in trigger
 
Level 3
Joined
Jan 1, 2012
Messages
50
JASS:
    call SetUnitPositionLoc(unit Your_unit, location Your_location, real Your_angle) // move instantly, stop the last order. you can use SetUnitX/Y too
    call IssuePointOrderLoc(unit Your_unit, string Your_order, location Your_location) // it walk to point.

is it ?
 
Level 6
Joined
Aug 27, 2011
Messages
305
@temperature
thank you, this will do)

EDIT: for all those who think i'm noob

such problems appeared when i imported map created in standart WE to UMS WE.
i've tried to make a new map in UMS and everything was fine - that's when i found out what the problem is
 
Last edited:
Status
Not open for further replies.
Top