Jump to content
Sign in to follow this  
-10th- Rezza

Salute Script Needed For Mission

Recommended Posts

1 Special Purpose Squad on the left another one on the right of 2 commanders and in the middle of them Col.Aziz

Infront of them are 4 choppers 2 mi-24Ds and 2 Hueys with 2 special purpose squads who are going to get in to them and fly.

So the player will be one of the guys whos going to get in the chopper and fly to the AO.

I want the whole team infront of these choppers to salute while they are getting ready.

I searched some stuff but didnt get it its a bit complicated.

I named the teams and people like this...

team1(leader),team2(leader),com1,com2,com3

Thanks for any help guys respect :)

Share this post


Link to post
Share on other sites

Maybe you should ask at this Forum Section?

btw.

To make them salute you can use an animation like:

soldier1 playmove "animation";

use it via trigger or via [soldier1] exec "animation.sqs"

you can also pick the animations at the community wiki

Share this post


Link to post
Share on other sites

Alright if i am at the wrong section can an admin switch my post to the appropriate section

Share this post


Link to post
Share on other sites

If your groups are named groupA and groupB and Aziz is named Aziz this should work:

{{aziz action["SALUTE",_x];} forEach units _x;} foreach [groupA, groupB];aziz action["SALUTE",aziz];

Share this post


Link to post
Share on other sites

The team leaders are named team1 and team2 3 commanders including aziz should salute.

and uh where should i put this code in a trigger?

I also want them without weapons they have Fals and weapons in their hands ):

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites

So you only want the leaders, weaponless, to salute or the squads too?

Share this post


Link to post
Share on other sites

Kylania was about to post

removeallweapons unitname

or

removeallweapons this

but remember to add their weapons back after the 'briefing'

Share this post


Link to post
Share on other sites

Its this mission called Takistani Strike

http://www.mediafire.com/file/1vdmjxc71jwddl3/Takistani%20Strike.Takistan.rar

I want the leaders to salute weaponless and the squad leaders to salute too

You ll understand if you play while we board the choppers the 3 commanders and the 2 squad leaders left and right of them should salute and then we take off so the player sees them saluting :)

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites

As Cougs said, put this in the init fields of the guys you want without weapons:

removeAllWeapons this;

Then change the trigger you have there to be Anybody Present Once and change the On Act to be this:

{aziz action["SALUTE",_x];} forEach [groupA, groupB,com1, com2, aziz];

That should do it.

Share this post


Link to post
Share on other sites
As Cougs said, put this in the init fields of the guys you want without weapons:

removeAllWeapons this;

Then change the trigger you have there to be Anybody Present Once and change the On Act to be this:

{aziz action["SALUTE",_x];} forEach [groupA, groupB,com1, com2, aziz];

That should do it.

any unit will salute with weapon in hand..

Share this post


Link to post
Share on other sites
any unit will salute with weapon in hand..

True, but that's not what he wanted. :)

I want the leaders to salute weaponless

Share this post


Link to post
Share on other sites

Add. info

running this once:

soldierOne action ["salute", soldierOne];

makes the unit salute and stay at attention with the hand raised.

To lower the hand and return to normal, just run it again after a sleep, e.g.:

soldierOne action ["salute", soldierOne];
sleep 2;
soldierOne action ["salute", soldierOne];

Salutes for 2 seconds.

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  

×