Jump to content
Sign in to follow this  
walshy690

Stryder HMG spawns with a single round

Recommended Posts

So I managed to get my vehicle spawns sorted earlier thanks to a helpful member on here but now when the Styrder HMG it only spawns with a single round. Is there a fix for this?

Cheers,

Walshy

Share this post


Link to post
Share on other sites

Figured it out they randomly spawn with a different amount of ammo.

Share this post


Link to post
Share on other sites

Actually, they don't. You must have some script that's doing that. Is this a mission you've started from scratch or are you editing an existing mission?

Share this post


Link to post
Share on other sites

I have been editing an existing mission its a wasteland mission and I have set vehicle spawn points and it randomly spawns in selected vehicles I believe but since I posted this it seems to have fixed itself in some way shape or form.

Share this post


Link to post
Share on other sites

the file/line in question is server\spawning\vehiclecreation.sqf line ~53

if (_type > 1) then { _car setVehicleAmmo (random 0.90) };

at the end the "random 0.90" is responsible for it. If you dont want it out comment "//" or delete the line.

greetings Na_Palm

Share this post


Link to post
Share on other sites

Ahhhh sweet I had a feeling there was something random in the script. Dude you are a great help thank you.

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  

×