OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: sardaukar17 on 18 Jul 2009, 09:01:05

Title: Markers and locations
Post by: sardaukar17 on 18 Jul 2009, 09:01:05
Am a crazy here?  :blink:

Isn't there an easy way to detect if a unit is inside a marker's area or not?

Or do I really have to assign a location to the correct size and direction of the marker in order for me to detect if a unit is in it or not?

Here is the deal I have a marker that I want to be the extent of the mission zone. As in I don't want one particular unit to leave that area (without death) *Ehheem* So far what I have found (and I only looked for about 30 minutes) is that I would have to create a location and define it to the parameters of the marker and then have my unit checked against the boundries of that location. But doesn't that seem a little complicated for something that I am sure has a simpler means to accomplish?
Title: Re: Markers and locations
Post by: Planck on 18 Jul 2009, 12:42:21
A trigger works exactly like this.

You can have it as a rectangular trigger or a round trigger, just resize it with the relevant gadgets in the trigger dialog.


Planck