Albert Schweitzer 10 Posted April 25, 2008 I have just downloaded the roleplay objects. Unfortunately they are not listed in the ordinary addon list but instead the only way to get access to them is by opening an ammo crate in the mission itself. But I want to use one of the objects for a video, in other words I want to place the addon "money" on a table. I tried out to put the crate on the ground, went into mission.sqs and replaced the ID with that of the money. But that didnt work. I guess that is a very simple question for mission makers, but I am rather unskilled in this area. Any advise? Share this post Link to post Share on other sites
fasad 1 Posted April 26, 2008 If the objects normally appear in an ammo crate, they are likely either a class of weapon or magazine. Try using createVehicle to create a "weaponHolder" object, then addWeaponCargo/addMagazineCargo the object. If it's a weapon, it will appear in place of the weaponHolder. If the object is a magazine class you'll probably only get the generic ammo pouch object. If that fails, looking at the addon's config, it may include a static version of the objects. Share this post Link to post Share on other sites
dachevs 1 Posted April 26, 2008 yes they are magazines. Everything is listed in the readme document. Classnames etc. Share this post Link to post Share on other sites
Albert Schweitzer 10 Posted April 26, 2008 thank you, I will try it out. As can be assumed I checked the readme, but from what is written there I could not extract the information on how to generally deal with ammo in scripts. The readme is about his addon and not a scripting guide for dummies, which unfortunately I am. Â Â <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weaponholder= "Weaponholder" createVehicle (position gamelogic); weaponholder addMagazineCargo ["RPO_obj17",1] Share this post Link to post Share on other sites
dachevs 1 Posted April 29, 2008 did that work? you could also use Weapons/Magazine placer Share this post Link to post Share on other sites
Mr-Murray 0 Posted April 29, 2008 Yes, it should work Share this post Link to post Share on other sites