• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Simple Trigger/ More efficent enter region

Status
Not open for further replies.
Level 10
Joined
May 21, 2006
Messages
323
I have an issue related to Rects.

I want to create a trigger in my RPG map that if you enter a specific Rect a Text massage pops up showing the name of the region.
Thats of course no problem, but I want when it is possible all in one trigger.

So can anybody help me there?
 
You have to do it with JASS. The trigger detects a unit entering a region, not a rect. Rects are added to regions. So, create the region, add the rect, and save the name of the region on the region ID. When a unit enters the region, load the name of the region from the TriggeringRegion ID and display it.
 
Status
Not open for further replies.
Back
Top