• 🏆 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!

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