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

Need help creating Dialog Box triggers

Status
Not open for further replies.
Level 14
Joined
Mar 27, 2008
Messages
1,003
Ok, so basically I need help creating a trigger, I'm not the best at triggering, actually I'm rather clueless when it comes to dialog boxes.

What I need the trigger to do is -

The event:
A unit enters a region
The conditions:
The owner of the entering unit cannot be player 12 (brown)
The actions:
A two button dialog box would pop up for brown, asking if he wants to do action A (nothing)
or action B (spawn units at the location where the unit just entered)
And of course have the buttons do said actions.

ALSO there is another thing.
There needs to be a way that if player 12 (brown) is occupied by a computer slot, then there is no dialog box, but it automatically activates action B.

Can someone please help? I hope I've been detailed enough. I'll be re-using these dialog functions for multiple functions throughout a survival map that I'm finishing up.
 
Status
Not open for further replies.
Top