OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Nevres on 03 Feb 2003, 08:12:12
-
ive searched but didnt find anything helpfull. my question is, if i can give a unit that allready has a weapon a handgun and if it requires a special command like a "addhandgun" or something like that or if only the special units that came with resistance can handle pistols.
thanks
PS (i have resistance)
-
If you have Resy then [virtually] all units can have handguns. I think you just add the pistol in the usual way - put something like this in the unit's init line
this addmagazine hipshooter; this addweapon hipshooter; this addmagazine hipshooter; this addmagazine hipshooter; this addmagazine hipshooter
where hipshooter is the name of the pistol you want ..... check out the weapons and ammo listing in the Ed Depot (Tutorials - References I think) for the correct names.
If the unit already has a pistol you will have to remove it first.