CulDoes 1 Posted June 6, 2019 Hi, I'm effectively trying to setup a shooting range where helicopters are the targets. I can place a heli at an altitude and have it hover, but once it is shot down, it respawns and just falls to the ground and explodes, creating an endless loop. If anyone can describe to me how I can have a heli spawn/respawn, take-off, then hover at a set altitude, until its inevitable doom I'd greatly appreciate it. I've watched a few videos, but they all seem to rely on loading the heli first. Thanks Share this post Link to post Share on other sites
sarogahtyp 1108 Posted June 6, 2019 show how you respawn the heli! Share this post Link to post Share on other sites
The Real Bunc 137 Posted June 6, 2019 Have you checked that a crew is being respawned? Does the respawn vehicle module respawn crew? I've just done a quick test and it didn't seem to with a prowler for example. 2 Share this post Link to post Share on other sites
CulDoes 1 Posted June 6, 2019 49 minutes ago, The Real Bunc said: Have you checked that a crew is being respawned? Does the respawn vehicle module respawn crew? I've just done a quick test and it didn't seem to with a prowler for example. How can I ensure the crew is respawned with the vehicle? Share this post Link to post Share on other sites
The Real Bunc 137 Posted June 6, 2019 Respawn it on the ground and observe what happens? 1 Share this post Link to post Share on other sites
CulDoes 1 Posted June 6, 2019 2 minutes ago, The Real Bunc said: Respawn it on the ground and observe what happens? I mean, the crew doesn't respawn. How can I make sure they do ? Share this post Link to post Share on other sites
The Real Bunc 137 Posted June 6, 2019 Oh, I see. I think you'll need to do this by calling a script that creates the crew and assigns then to the vehicle. There is a field called "expression" when you open up the module which runs given code when the module activates. Id try calling a script file from there and in the script file spawn the crew and assign them to the vehicle. Share this post Link to post Share on other sites
sarogahtyp 1108 Posted June 6, 2019 https://community.bistudio.com/wiki/createVehicleCrew 2 Share this post Link to post Share on other sites
The Real Bunc 137 Posted June 6, 2019 Id forgotten about that command. Done and dusted then. Share this post Link to post Share on other sites
ZaellixA 383 Posted June 6, 2019 Hey there CulDoes. According to Biki you could possibly use the BIS_fnc_spawnVehicle function, which spawns a vehicle with all its crew. According to the docs all positions will be occupied along with turrets. So if you want to get rid of them you will have to delete them manually. This is not tested though (sorry for that). Share this post Link to post Share on other sites
CulDoes 1 Posted June 6, 2019 (edited) Thanks guys for the help Edited June 6, 2019 by CulDoes The thread didn't show the other replies 1 Share this post Link to post Share on other sites