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

Why does this doesn't work

Status
Not open for further replies.
Level 7
Joined
Aug 19, 2009
Messages
278
I was making a simple trigger when a unit is ordered to move one point, The unit goes to another point. The trigger was like this.

  • Untitled Trigger 002
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Issued order) Equal to (Order(Move))
    • Actions
      • Game - Display to (All players) the text: Order passed
      • Set movepoint = (Target point of issued order)
      • Unit - Order (Triggering unit) to Stop
      • Unit - Order (Triggering unit) to Move To (Center of (Playable map area))
But I cant figure out why this doesn't work. This is just a simple trigger though..
 
Level 4
Joined
Apr 2, 2013
Messages
51
Try this

  • Untitled Trigger 002
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Issued order) Equal to (Order(Move))
    • Actions
      • Trigger - Turn off (This trigger)
      • Game - Display to (All players) the text: Order passed
      • Set movepoint = (Target point of issued order)
      • Unit - Order (Triggering unit) to Stop
      • Unit - Order (Triggering unit) to Move To (Center of (Playable map area))
      • Trigger - Turn on (This trigger)
 
Level 7
Joined
Aug 19, 2009
Messages
278
Try this

  • Untitled Trigger 002
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Issued order) Equal to (Order(Move))
    • Actions
      • Trigger - Turn off (This trigger)
      • Game - Display to (All players) the text: Order passed
      • Set movepoint = (Target point of issued order)
      • Unit - Order (Triggering unit) to Stop
      • Unit - Order (Triggering unit) to Move To (Center of (Playable map area))
      • Trigger - Turn on (This trigger)

This doesn't work too
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
I have that one too..

My solution for that is to use Move Detection System..

I think its Bribe trigger..

With that i can detect when unit is moving.. and once the unit is moving i am sure it is issued order to move

I am sure if you just know how to use that system.. your problem will be solve..
 
Level 7
Joined
Aug 19, 2009
Messages
278
BTW, what's the use of this?
  • Game - Display to (All players) the text: Order passed
you don't you that anywhere in the trigger

Thats just for testing if the trigger is passed or not.

I have that one too..

My solution for that is to use Move Detection System..

I think its Bribe trigger..

With that i can detect when unit is moving.. and once the unit is moving i am sure it is issued order to move

I am sure if you just know how to use that system.. your problem will be solve..

The problem is I want to detect before it move that the order is passed.
 
Level 7
Joined
Aug 19, 2009
Messages
278
Try using stop command

stop command normally works.

What i wanted was something like this

*Unit is channeling a spell

*Unit is issued order to move to a point(smart) Triggers trigger x

*Trigger X makes the unit stop channeling the spell by ordering it to stop.

*Trigger X orders unit to move to the point where it was ordered.
 
Status
Not open for further replies.
Top