Jump to content
Sign in to follow this  
Aralvar

How to put ammunition directly on the ground?

Recommended Posts

I'm wondering how to spawn ammunition on the ground rather than in an ammunition box. Is there a way?

Share this post


Link to post
Share on other sites

Thanks! :D But does anyone have a better video? The guy in that video has a mic that keeps cutting out for me.

Share this post


Link to post
Share on other sites

Should be groundWeaponHolder. I'll have to double check but should be ....

MAG = "groundWeaponHolder" createVehicle getPos this; MAG addMagazineCargo ["30Rnd _65x39_case_mag",2];

Place a gamelogic named "MAG" or whatever you want to call it, then you can add weapons, ammo, items, whatever you want. Then put that line of code in it and your good to go. If you really want to get fancy you can include setDir, setVectorUp, etc if you want to place stuff on tables or whereever. You'll have to mess with the height until your satisfied

Share this post


Link to post
Share on other sites

Thank you, I will try this when I get my game working again.

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  

×