Jump to content
Sign in to follow this  
SOSyourself

Trigger activates waypoint, new objective, ect

Recommended Posts

I've searched around the site and cannot find exactly how to script this!

I want the following...

1. trigger that detects when the player walks into a certain area... the area has 5 blufor soldiers and I was trying to make the condition be when there are 6 blufor soldiers in the area but it was not working

2. when that trigger is activated, I want a conversation.sqf to play, the player to be assigned under the command of the blufor squadleader (from the soldiers mentioned in my first problem), and the squadleader to issue a move command.

3. how would I go about also having task1 completed, and then assigning task2?

Sorry to be a nag.. this scripting can be really difficult and also hard to find help with. Thanks in advance!

Share this post


Link to post
Share on other sites

1. Trigger condition: player in thisList (And also set it "BLUFOR present")

2. joinSilent.

3. Not exactly sure what you mean (Not your fault, I am dead tired), but maybe this will help you going: createSimpleTask (Also check the "see also" -links).

Share this post


Link to post
Share on other sites

so when the player enters that trigger area, task 1 is set to completed, task 2 pops up and gets assigned.. how do i do this? I also cant get the move order to work.

Edited by SOSyourself

Share this post


Link to post
Share on other sites

I would create a waypoint directly where the leader is (Select the leader, press F4 and double-click the leader) and synchronize (F5) this waypoint to the trigger, and then I would make another waypoint where I would want the team to go. When the player enters the trigger area the team starts to move. Is this what you wanted?

Unfortunately I lack any experience concerning tasks. Personally I hate them, and I have made series of scripts to create my own task-system so I don't have to use built-in task-commands.

Share this post


Link to post
Share on other sites

Here is the order for you:

1. Player enters trigger zone, enables radio chatter between player and officer [currently working]

2. When the chatting is over; player joins the officer's squad, officer issues a move command, task 1 set to completed & task 2 set to current objective

The radio chatter is a conversation file, in .sqf form that gets called on in case you were wondering.

I just don't know how to script the waypoint..

Share this post


Link to post
Share on other sites

To create a waypoint put this into your sqf after the conversation:

nul = group _bigChief addWaypoint [[123, 456], 0];

Can't help you with tasks, 'tho.

Share this post


Link to post
Share on other sites

How do I make the trigger activate: player joins the officer's squad and officer issues a move command.

I don't understand the joinsilent script and i don't know what to use for the move order.

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  

×