• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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