Jump to content
Sign in to follow this  
RedStorm

Weapon trouble!

Recommended Posts

Well, I want to place these weapons on the ground in my map (making a weapons cache (sp?)) so I made the 'Game Logic' object and called it wep1. I then made a script in my mission map called wep and I put this in it:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_gunspot = "WeaponHolder" createVehicle (getPos wep1)

_gunspot setDir (getDir wep1)

_gunspot addWeaponCargo ["m60",1]

_gunspot addMagazineCargo ["m60",4]<span id='postcolor'>

Now the problem is, the gun does show up in the map, but I can't pick it up. Any suggestions?

(I put this exec "wep"; in my Game Logic object btw smile.gif)

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  

×