Jump to content
Sign in to follow this  
_qor

How to make a man run, when I enter the trigger-area?

Recommended Posts

I want to make a civilian to start his move-command which I set by waypoint.

But only when I enter a certain area. Is this possible via trigger? If yes, how?

And for following questions of mine...

...isnt there a way to solve those problems on my own? how do I find commands and solutions?

Share this post


Link to post
Share on other sites

Hi... check out this thread here and download the little demo mission in post #3. See if that helps you out. Might take a little hair pulling to grasp what's going on. It uses Triggers and Global Variables which is pretty much what you need.

There's a list of good stuff on this page taken from the Stickies at the top of this forum. There is a link to the Script Commands there.

Two essential things for debugging scripts would be having the -showScriptErrors switch placed in your shortcut and the Arma.RPT file

EDIT: More... Open other peoples code and fiddle with it.... Get yourself a good text processor that will highlight code in different colours. That way when you look at script you will immediately make out what the commands are in the code. I use TextPad but NotePad+ is also supposed to be good I believe.

Edited by twirly

Share this post


Link to post
Share on other sites

If you havn't resolved this yet I believe the easiest way to do it is set a trigger that detects when you enter it and, then set the civilians first waypoint right next to the civilian. Once you have done that syncronise the waypoint and the trigger. That way the civilians waypoint will only activate when you set off the trigger.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×