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

Triggering Problem: Assigning a number to a region

Status
Not open for further replies.
Level 21
Joined
Aug 21, 2005
Messages
3,699
I have (more or less) 50 regions.

In my trigger, I have the events:
a Unit enters Region 001
a Unit enters Region 002
up to Region 050

In my actions I should be able to set an Integer Variable = the number of the region the unit is actually entering. For example, if the unit enters region 031, the Variable should be set to 31

Any way to do this or is the only solution copying the trigger 50 times?

thanks for your help.
 
Status
Not open for further replies.
Top