OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: desert_storm_dude on 20 Apr 2003, 19:56:29
-
how do you remove a weapon from a soldier and how do you add a weapon to a soldier
-
search the FAQ with keywords 'addweapon' and 'removeweapon'
You'll find a 100% answer there. No better yet, you'll find many answers on the same subject. That's better than what I'd have to give you. ;)
-
Write in his init line
this removeWeapon "M16"; this addWeapon "AK74"
You'll need to sort out the mags as well, check the command reference for details.
As for your sig line .... well it's unlikely to endear you to our Syrian and Lebanese members ... ::)
-
And Fuck you too! ;D ::) :P
And the Q, well, removeallweapons UnitName will take care of deleting the persons complete equipment.
UnitName addweapon "WeaponName" - Will take care of the addweapons trouble
UnitName removeweapon "WeaponName" - Will take care of deleting the weapon and the magazine.
UnitName removemagazine "MagazineName" - Will remove one magazine from the equipment.
UnitName addmagazine "MagazineName" - Will add a magazine to the equipment.
There ya go! Download a weapons list for further information.