Home   Help Search Login Register  

Author Topic: Using a script to check if weapon is primary or secondary  (Read 428 times)

0 Members and 1 Guest are viewing this topic.

Baphomet

  • Guest
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?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Using a script to check if weapon is primary or secondary
« Reply #1 on: 22 Feb 2004, 10:04:09 »
Quote
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...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.