Home   Help Search Login Register  

Author Topic: how do i find out if a unit has fired....  (Read 488 times)

0 Members and 1 Guest are viewing this topic.

Offline wired

  • Members
  • *
  • Explosion Scripter for the [unsung] mod!!!
how do i find out if a unit has fired....
« on: 03 Dec 2003, 17:57:59 »
How can i find out if  the selected guy has fired his weapon?
Say the start of my script starts like....
_man = _this select 0

how do i find out if he fires his weapon, whether he fires it blindly or at someone, it doesn't matter.

By the way i hav 1.46 and dont tell me resistance is worth buying because im not thick and i know that!
We have a problem at 'Oscar-Charlie 2-7' do you read me? Well its that guy with the RPG!

m21man

  • Guest
Re:how do i find out if a unit has fired....
« Reply #1 on: 03 Dec 2003, 18:04:31 »
That would be best done with eventhandlers. Unfortunately, you need Resistance to use them ::) .

Offline wired

  • Members
  • *
  • Explosion Scripter for the [unsung] mod!!!
Re:how do i find out if a unit has fired....
« Reply #2 on: 03 Dec 2003, 18:05:41 »
is there no command like "hasfired" or something?
We have a problem at 'Oscar-Charlie 2-7' do you read me? Well its that guy with the RPG!

m21man

  • Guest
Re:how do i find out if a unit has fired....
« Reply #3 on: 03 Dec 2003, 18:06:43 »
Check the ComRef, I don't have one at the moment. I'll post back if I find anything.

Offline wired

  • Members
  • *
  • Explosion Scripter for the [unsung] mod!!!
Re:how do i find out if a unit has fired....
« Reply #4 on: 03 Dec 2003, 18:09:51 »
cheers, i'll check it!
All i need is the script to find out if i have fired! D**M!!!
We have a problem at 'Oscar-Charlie 2-7' do you read me? Well its that guy with the RPG!

Offline Blanco

  • Former Staff
  • ****
Re:how do i find out if a unit has fired....
« Reply #5 on: 03 Dec 2003, 22:10:06 »
indeed , with an eventhandler "fired" or with a ammocheck when you don't have Resistance.

Search or search or search before you ask.