Jump to content
Sign in to follow this  
Master gamawa

Damn triggers

Recommended Posts

ok I've had enough. I searched on the internet and on the first 16 pages of this subforum, I downloaded a 100 page tutorial but still, I can't find it.

This pisses me off because I knew how to do this in OpF but I must be missing something very obvious here. That... or I am extremely stupid.

It's the simplest, most common function in Arma editing.

I want a trigger, activated by the player (or anyone) to make another unit or group, move to a certain position.

I place my unit outside of the trigger area that is activated by me, a civilian. I want a Blufor unit to move to a new place when I step in the trigger area.

So, I have a trigger that is activated by Civilian (me), and detected by Blufor (the unit I want to respond to the trigger)

I put a move waypoint to certain area and I synchronized this waypoint with the civilian activated trigger.

When I preview the mission, the Bluefor unit starts moving towards the waypoint, without waiting for me to get into the trigger area.

Now I seem to remember in Flashpoint that this works with two waypoints. One is the initial position and the second one, is the one that the unit will move towards, when the trigger is activated. I am kind of fuzzy about this... It's been a long time since I edited missions in ofp.

What am I doing wrong? I tried making the first waypoint a 'hold' and the second one a 'move' thinking that the unit will go to the hold point when the mission starts and wait there until I activate the trigger for the next waypoint.

It doesn't work and I am not sure how to go on.

I really feel bad asking this, but my friends are coming round soon and I am building a mission that needs this simple thing done.

Please!

Share this post


Link to post
Share on other sites

I was too lazy to write an extensive answer, so I uploaded a template that will show you how it works.

Note that I didn´t use the syncronize option from Editor as it sometimes didn´t work reliable for me with Arma. Check the OnActivation field of the trigger and the Condition field of the second waypoint. Once WP1 is true the tank will move on.

Trigger-Waypoint template

Share this post


Link to post
Share on other sites

"So, I have a trigger that is activated by Civilian (me), and detected by Blufor (the unit I want to respond to the trigger)

I put a move waypoint to certain area and I synchronized this waypoint with the civilian activated trigger."

So you have 2 activations, one detected by BLUFOR and activiated by you (I assume be radio Alpha)?

Or do you have 2 Triggers One that detects Civilians and another that detects BLUFOR to activate?

Did you try synchronizing them (both triggers)? This means that both values need to be true for the activation to happen. Also synchronizing the movement waypoint with both triggers for the other BLUFOR unit?

Also try exporting it to multiplayer from the editor first if you are still having problems.

Share this post


Link to post
Share on other sites

another easy way is to place you where you want on the map. Then place the unit you want to move on the map, click on him once then click the waypoints tab, and place a waypoint next to him, put in the waypoint <s>Init field</s> Condition something like BlueMove, then place another waypoint where you want the unit to move and in the activation of that waypoint put BlueMove=true

--EDIT-- Just to make sure its right. Here is how I learned it from a text document of different script related things.

------------------------------------------------------------------------------------------

-------------------

Make a unit move after trigger is activated:

Unit will move to first waypoint always

Put a waypoint close to the unit and type in condition ex. blueinarea

Put next waypoint where you want it/them to go

Put a trigger and type in On Activation: blueinarea=true

Set up the trigger as you want ex. when blufor is within the trigger

------------------------------------------------------------------------------------------

-------------------

Share this post


Link to post
Share on other sites

thanks. I kind of did it with the synchronizing but it doesn't work all the time.

I just had to synch it with the first waypoint not the last... which doesn't make sense in my mind, but it works.

I better start using the name=true thing though.

thanks again, you guys are fine people

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  

×