Jump to content
Sign in to follow this  
Highlander

Adding map to vehicles

Recommended Posts

Hi there peoples! Been searching high n low on how to add a map to a vehicle (SUV or the like) I tried addMagazineCargo and addWeaponCargo and both seem to work when I add ammo or weapons. Though it wont accept ItemMap. I keep getting no entry 'bin\config.bin/CfgMagazines.ItemMap

Can someone please shed some light on this for me.

Cheers

Share this post


Link to post
Share on other sites

The Map is a "weapon", so you have to use addWeaponCargo.

Either do it in the init-line of the car:

this addWeaponCargo ["ItemMap", 1];

Or in a script:

myCar addWeaponCargoGlobal ["ItemMap", 1];

Just tested this and got the map into my SUV without any errors or problems.

Share this post


Link to post
Share on other sites

Thanks for clearing that up for me! I must have missed something. You are the best!

Cheers

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  

×