Home   Help Search Login Register  

Author Topic: Suppressor  (Read 840 times)

0 Members and 1 Guest are viewing this topic.

Offline Martin Kuka

  • Members
  • *
Suppressor
« on: 10 Aug 2006, 08:02:10 »
Okay, I could use some help.... ;D
Is there any command that checks if a unit uses suppressed weapon?

BTW: If it possible to make a suppressor addon that counts as item, NOT A WEAPON and can be attached to a weapon....
I WANT THAT Lol ;D
Lets get rocked

Offline Cheetah

  • Former Staff
  • ****
Re: Suppressor
« Reply #1 on: 10 Aug 2006, 09:27:03 »
http://www.ofpec.com/COMREF/index.php?action=list&letter=t#W

Check the command weapons vehicle and see what you can do with it. An idea is to check all of the elements of the array for silenced weapontypes.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Martin Kuka

  • Members
  • *
Re: Suppressor
« Reply #2 on: 10 Aug 2006, 14:05:17 »
 ;D Guess this is going to work. As all silenced weapons are usually marked as "SD" or "S", so I see it as
two-trigger combination. One checks and other one takes appropriate action if check is successful.
I only wonder if it can return value, cos it is an addon weapon.

Thanx a lot ;D
« Last Edit: 10 Aug 2006, 14:22:58 by Martin Kuka »
Lets get rocked