OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Baphomet on 22 Feb 2004, 01:09:04
-
I was looking through the comref and didn't stumble across anything related to it. Perhaps I missed it. However is there a script command you can use to check if the weapon someone is holding is a rifle, pistol, or shoulder fired weapon?
-
weapon someone is holding
You mean actually holding in ones hands? (other than safe mode...)
There's no command for that (AFAIK)...
There're primaryWeapon, secondaryWeapon and weapons to check which weapons the unit's carrying...