Home   Help Search Login Register  

Author Topic: East detect gunshot  (Read 914 times)

0 Members and 1 Guest are viewing this topic.

Offline Vortrog

  • Members
  • *
  • Ski'in, Fish'in, Shoot'in, OFP'in
    • Vortrog's Lair
East detect gunshot
« on: 20 Sep 2002, 01:15:53 »


[attachment deleted by admin]

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:East detect gunshot
« Reply #1 on: 20 Sep 2002, 03:59:31 »
ok for the height detection you can use this as a condition

getpos unitname select 2 >= 5

that will activate when the unit is about 5 metres, are you placing the streetlight? if you are use this condition

getdammage lightname > 0

the weapon firing part is the hardest, does the player startwith the weapon? or does he have to kill a guard to get it? if he starts with it or picks it up unused use this

shots = unitname ammo "weaponname"
@(unitnamer ammo "weaponname") < shots

« Last Edit: 20 Sep 2002, 04:07:25 by Black_Feather »