• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How do I trigger if a player order a unit to a region?

Status
Not open for further replies.

Jeffiec

J

Jeffiec

If i wanted to create trigger that fires if a player orders there selected units to a specific region, what would be my condition, I get lost after Event

Event :Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point

Condition :?????

Action : Bla Bla I know what i want here.

Do i have the event right?
What i am trying to accomplish is I have a bridge that is blocked by blockers, if you oder units to cross the bridge, the units go off the long way around, I want to create the trigger that kills the order to make them go there and display a text message stating that the way is blocked until the hero has obtained a certain level.

Thanks any help appreciated
Jeff
 
yeah, I have run into something similar, the problem is, there is no Bboolean like "target point of issued order in region x = true", Honestly i don't think you can do it that way. But, if you need to do something like deathbedeli2 sugessted, I think your best bet would just to make 2 region close to each other. and say

If unit enter region 1 then move unit to region 2
display test message to owner of triggering unit "you are not high enough level!".

so each time you go into region 1, you get sent back.
 
Status
Not open for further replies.
Back
Top