Jump to content
theensanguine

Faction Vehicle spawn in sector

Recommended Posts

Hey guys, im trying get faction specific vehicles to spawn when their faction has captured the sector. ie, when blurfor has the sector, specific blufor vehicles spawn for use (hopefully using the vehicle respawn module), and if opfor captures the point, then opfor vehicles will spawn instead, repetitively. Any ideas?

Share this post


Link to post
Share on other sites

Hard to say what are you trying to achieve.
 
Here are some example how to get side
 

_side = side _this;

if (_side isEqualTo WEST) then {

//spawn blufor vehicles

} else {


//spawn opfor vehicles
};

Share this post


Link to post
Share on other sites

Dunno how to apply that to the respawn module.

Basically what i want is present here

 

C3V5fPk.png

 

When the sector is captured by blufor, the blufor vehicle respawn module is active.

When the sector is captured by opfor, the opfor vehicle repsawn module is active.

 

also would be nice to be able to despawn the opposing faction's vehicle when the point is captured if no-one is inside that vehicle, but it may be too much effort for this mission.

Share this post


Link to post
Share on other sites

The script in this post i believe is still working and should give you some ideas on how to go about handling this. Read the rest of the posts in that thread as well for more info.

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

×