Jump to content
Sign in to follow this  
Smoerble

How to mount a gun when creating weapons with a script?

Recommended Posts

Hi all.

I want a soldier to mount a static gun.

When working directly in the editor, I used the following command in the INIT section of a soldier:

this assignasgunner t_captureCity1_gun1; this ordergetin true;

1) Now I create a squad with a script (using BIS_fnc_spawnGroup; ).

2) Then I create waypoints for this squad.

3) Next, i want to tell the squad, that one of them should mount the static gun "t_captureCity1_gun1".

How do you do this please?

Share this post


Link to post
Share on other sites

You could use BIS_fnc_taskDefend to accomplish both patrols and mounting static weapons.

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  

×