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

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?
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
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.
Top