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

How to create this?

Status
Not open for further replies.
Level 5
Joined
Aug 21, 2012
Messages
107
How to create this?

I'm creating a escape map, an easy one for my sake. Its just a simple unit moving from left to right. My problem is: When the unit is looking from the left, if I ordered my unit to pass through the right, then my unit will never be seen, and vice versa. How to do it?
 
Level 5
Joined
Aug 21, 2012
Messages
107

Rheiko

Spell Reviewer
Level 25
Joined
Aug 27, 2013
Messages
4,121
i guess he mean, if the guard is facing left then the right road is safe to pass
by if the guard is facing right instead, the left road is safe but the right is dangerous..
something like that, i guess

it's like

<o ^

<o = Guard
^ = unit
so the guard didn't notice that unit has passed him because he is facing another direction
 
What I mean is when the guard looks left the right is safe to pass. If the guard looks right the left then is safe to pass.
I understand, this requires complex triggering (not too complex), there is only 1 trigger needed to send the state of the safe zone. You need 2 Booleans (1 left and 1 right) and then you can check the facing of unit to see which place is secure.
I don't have time to post the triggers yet as its pretty late here.

If you think my question is to indescribable, maybe I should stop before I get myself being trash talked. Thanks for the time though.

Be patient, some people are easier to understand stuff than some other.
 
Status
Not open for further replies.
Top