Jump to content
Sign in to follow this  
fubarno1

looking to spawn a ammo box

Recommended Posts

I need details on how to spawn an ammo box when a heli departs from an invisible H and when troops are disembarked from a stryker.

that then show as resupply objects on the map.

thanks in advance  biggrin_o.gif

edit

After butchering Karillians suggestion for creating a bomb, I came up with this

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">ammopos = getpos target; ammo = "ammoboxwest" createvehicle [ammopos select 0, ammopos select 1, 0]; ammopos = getpos target1; ammo = "weaponboxwest" createvehicle [ammopos select 0, ammopos select 1, 0]; ammopos = getpos target2; ammo = "specialboxwest" createvehicle [ammopos select 0, ammopos select 1, 0]

It works but is there a better solution I should try?

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  

×