Home   Help Search Login Register  

Author Topic: get...NOdammage ???  (Read 1006 times)

0 Members and 1 Guest are viewing this topic.

Skanderborgvej

  • Guest
get...NOdammage ???
« on: 11 Jul 2003, 17:45:30 »
This thing is bugging me for a while now, it's not really a problem, but it's just "STRANGE"  ???

Well if I put this : "GetDammage _unit >= 1" then it normally means that if _unit is death (the trigger is activated).

BUT... sometimes if they shoot  _unit, he falls on the ground (and is death) but has not reached deathfactor "1".
(i.e. if they shoot them once in the back)

I always use @NOT(alive _unit)  8) now, but what is the prob?

GRTZ Vlaamse Leeuw ;)

Offline Blanco

  • Former Staff
  • ****
Re:get...NOdammage ???
« Reply #1 on: 11 Jul 2003, 17:53:17 »
try

Getdammage _unit > 1

ne vloeming tedomme...kzen oek iene... :)
Search or search or search before you ask.

Skanderborgvej

  • Guest
Re:get...NOdammage ???
« Reply #2 on: 11 Jul 2003, 18:02:40 »
Nope doesn't work at all.  Thx anyway


GRTZ Vlaamse Leeuw ;)


Precies ene van de kust?  ;D

Captain Winters

  • Guest
Re:get...NOdammage ???
« Reply #3 on: 11 Jul 2003, 18:25:36 »
you have to make sure it's in the condition box of a repeating trigger

Tanks! 8)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:get...NOdammage ???
« Reply #4 on: 12 Jul 2003, 12:05:01 »
BUT... sometimes if they shoot  _unit, he falls on the ground (and is death) but has not reached deathfactor "1".
(i.e. if they shoot them once in the back)

This is the reason you should never use the dammage of a unit to determine if they are dead...

OFP has always been this way. Bullets (or grenades/shells/whatever) will do damage dependant on where they hit the unit. I think critical hits can happen (killing the unit) without the dammage value going past 1 ;)

max_killer_payne

  • Guest
Re:get...NOdammage ???
« Reply #5 on: 12 Jul 2003, 12:18:50 »
Yeah, Sui is right for instance if you are flying a plane. (I was doing this the other day) I was flying over an area protected by the MTLB SA-18 addon, which fires missiles. I took a pretty bad hit, on the joining part of the tail/body and my damage would be classed as critical, but on the damage indicator it was not all gone I still had a bit of armor left although it was in red. Yet I still died, even though I still has a bit of life in me.

Skanderborgvej

  • Guest
Re:get...NOdammage ???
« Reply #6 on: 13 Jul 2003, 13:36:09 »
Key

I'll never use that GetDammage stuff for a unit again...  ;D

Thx 2 all

GRTZ  ;) Vlaamse Leeuw