Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
roadwolf

Spawning an active SAM site?

Recommended Posts

Greetings,

 

I am trying to spawn an active B_SAM_System_03_F in the mission I am editing, from a menu with other 'static' defenses.  How would I go about spawning it, so it is active and functioning?

Share this post


Link to post
Share on other sites

You need to create the SAM and its crew ,  then same thing for the B_Radar_System_01_F radar.

Something like:

_sam = createVehicle ["B_SAM_System_03_F", <aPositionHere>,[],0,"none"];

createVehicleCrew _sam;

_radar= createVehicle ["B_Radar_System_01_F", <anotherPositionHere>,[],0,"none"];

createVehicleCrew _radar;

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Cool,  I got that working, but it is defaulting to a state where the radar is turned off.  How do I set it so the radar is on when spawned?  :)

Share this post


Link to post
Share on other sites
18 minutes ago, beno_83au said:

 



Thank you so much.  I must admit I have been away from Arma 3 scripting for far too long.  I thank this community for its support in coming back into it.

  • Like 1

Share this post


Link to post
Share on other sites

×