Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
AppleDrink

Mission Bounds.

Recommended Posts

i have been looking all over the internet and all over this forum to find out a way to create a mission bounds that when a player goes out of it hes is presented with a message and the trigger has a timeout of 10 seconds before it kills him.

Share this post


Link to post
Share on other sites

awsome thanks, i have notices there is a module called Zone restriction

but unfortunalty i have been unable to locate any information on this mod

has anyone successfully used this module

Share this post


Link to post
Share on other sites

I think the zone restrictions are more for selecting areas on the map where you dont want things like civilians or animals etc to spawn if you are usig such modules.

Share this post


Link to post
Share on other sites

I tried the link that norrin posted.

I simply made a trigger set to anybody and repeatedly. Then simply

this exec "boundary.sqf"

That didn't work. Then I tried

player exec "boundary.sqf"

Which worked, kinda. I hear the dialogue popup, but nothing shows up. Also, I didn't die. Any ideas why this might be happening?

Secondary to that, I want this for an MP mission to be set off by anyone. How exactly can I make that possible? Is using

player exec "boundary.sqf"

sufficient for MP? I don't know much of anything about MP editing.

Share this post


Link to post
Share on other sites

Hmm I remember making something like this for a friend. Only with the difference, that when you left the combat area and guided missile fired from a nearby silo would take you down. ^^ Was rather funny to watch.

Share this post


Link to post
Share on other sites
Also, I didn't die. Any ideas why this might be happening?

Secondary to that, I want this for an MP mission to be set off by anyone. How exactly can I make that possible? Is using

player exec "boundary.sqf"

sufficient for MP? I don't know much of anything about MP editing.

@PiNs, I havent had a chance to try this in ArmA2 so I can't guarantee its working but for a full description of how to set up the script read here: http://www.ofpec.com/forum/index.php?topic=30324.msg207909#msg207909

Share this post


Link to post
Share on other sites

Thank you very much norrin, appreciated. While I have gotten the script to work just fine, I ran into a problem I cant seem to figure out.

If the marker is small it is pretty precise. But when I make it huge to what I need 4000x8000 or somewhere along there, it triggers way before you are in the marked zone. I can't for the life of me figure out why this is happening or how to fix it. Any ideas?

Edit:

Did some messing around, still have the problem. But just wanted to give a more precise answer.

Rectangle

Axis a:4000 Axis b:10000 Angle:45

And this happens at approx. 1800m-2000m away from the marker itself.

Edited by PiNs_Da_Smoka

Share this post


Link to post
Share on other sites

Its been along time since I looked at this but I seem to remember that the script may not like markers placed on angles other than 0 and 90 degrees so with this in mind can you create a couple of smaller markers that run the script, which cover the area in question. When I get a chance I'll take a look but I'm a bit snowed under just at the moment so I'm not sure when I can get to it.

Edited by norrin

Share this post


Link to post
Share on other sites

This made sense to me since when I first tried the script it ran fine on a regular square marker. Only once I tilted it did I get the problem. So, tried it out, and works great now. Guess ill just use two markers no big deal. Thanks a lot man.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×