Jump to content
Sign in to follow this  
Crimson Mage

Is it possible to set things to spawn in mid mission?

Recommended Posts

I am trying to make a helicopter fly by the character. But, I want it to happen like 15 min into the mission. How would I do this?

Share this post


Link to post
Share on other sites

You could use BIS_fnc_ambientFlyby if you're trying to add ambience to your mission and no interaction with the helicopter will be required in any way. You can execute the function from a trigger or a script.

Share this post


Link to post
Share on other sites

Either through a trigger with an area that will cause the spawn, or a script spawned with a waituntil block based on time, or possibly serverTime if that works in singleplayer, to spawn a heli.

To spawn vehicles

https://community.bistudio.com/wiki/BIS_fnc_spawnVehicle

 

or easier but prone to more errors and bugs have the vehicle already created and just activate the waypoint at the correct time (or from trigger) to have it fly over.

Share this post


Link to post
Share on other sites

Currently I am using a hold waypoint and a trigger. But I am gonna check out ambient fly by.

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  

×