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

Status
Not open for further replies.
Level 1
Joined
Jan 22, 2005
Messages
3
how can i make it so a trigger is activated when a player types a message and it only works if his unit is in a certain region?

thanks
-tom barker
 
Level 4
Joined
Jul 9, 2004
Messages
81
Try This

How about this:

Have a trigger like-
Unit Enters Region
Unit Types = 2 (If u want one)
Turn on trigger (Your typnig trigger here)

Then also do:

Unit Leaves region
Unit = 2 (your unit here,if one)
Turn off your typing trigger

It should work, but u didn't specicfy what u wanted excatly. :lol:

Good Luck
 
Level 1
Joined
Jan 23, 2005
Messages
4
I dont Understand Full but i give a Try

Make 3 Triggers.

Trigger 1: (Trigger 1 is not ON (Turned off))

Event: A player(Red) whrite (Text) as an exact match
Condition: None
Action: (The Action you want)
--------------------------------------------------
Trigger 2: (This trigger is ON (Turned on))

Event: Unit enters Region (Region of name)
Condition: Owner of entering unit equal to Player(Red)
Action: Turn on (Trigger 1)
---------------------------------------------------
Trigger 3: (this trigger is ON(Trigger is turned on))

Event: Unit Leaves Region (Region of name)
Condition: Owner of leaving Region Equal to Player(Red)
Action: Turn off (Trigger 1)
----------------------------------------------------

Hopes this was for help...
 
Status
Not open for further replies.
Top