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

Area Triggering... {how to move a region?}

Status
Not open for further replies.
Level 2
Joined
Jun 4, 2009
Messages
17
So I begun making a gamne where there are three groups that are trying to take over a certain area.

Now I encountered a little problem in the trigger and scripting section, where I can't figure out how to make so that, when a unit enters a certain regions and stays there for 15 sec the flag (or circle) in that region will change owners to the owner of thel unit...

basiclly:
unit enters region and stays in it for 15 seconds
circle changes owner to the owner of the unit

I can't find how to enter this into the triggers... help? :0
 
I dont understand what you need to be honest, a bit messy explanation - elaborate more.
What I got from title of thread is how to move regions, here are actions that will help you manipulating them:

- creating region and setting region variable to it
  • Set Yourregion = Region centered at yourpoint with <here you write its size>
- moving region
  • Region - Center region <position>
- clearing region if needed
  • Custom script: call RemoveRect(udg_yourregion)
 
Status
Not open for further replies.
Top