Home   Help Search Login Register  

Author Topic: Getting Dammage From Bike  (Read 576 times)

0 Members and 1 Guest are viewing this topic.

CopyrightPhilly

  • Guest
Getting Dammage From Bike
« on: 05 Jul 2004, 09:17:35 »
ok i'm using the following code to detect dammage on a bike

#loop
?getdammage bike1 > 0.1 :goto "bike1dammage"
goto"loop"
exit;

now i tryed that in alsorts of shapes but it still will not detect if its been dammaged, anyone got any ideas?

cheers, Philly

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Getting Dammage From Bike
« Reply #1 on: 05 Jul 2004, 09:37:08 »
check for typ0s and add some delay in the loop.
Not all is lost.

j-man

  • Guest
Re:Getting Dammage From Bike
« Reply #2 on: 05 Jul 2004, 09:45:01 »
Have you defined the section "bike1dammage"? Also, you might want to add a delay between when it chacks the dammage and when it loops.

CopyrightPhilly

  • Guest
Re:Getting Dammage From Bike
« Reply #3 on: 05 Jul 2004, 10:05:24 »
yea just did all that but still it will not detect any dammage..

cheers, Philly

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Getting Dammage From Bike
« Reply #4 on: 05 Jul 2004, 10:16:24 »
Are you sure you have gone over 0.1 in damage? Do a hint format check.

:beat: *Gets Shot* :beat:

CopyrightPhilly

  • Guest
Re:Getting Dammage From Bike
« Reply #5 on: 05 Jul 2004, 10:19:03 »
yea i did a hint test, it kept saying 0. the bike i'm using is from one of the bas addons. the little dammage bar (like the ones in a chopper) shows more or less empty meaning that its just about dead.

dam i hate it when this happens lol  :-X

cheers, PHilly

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Getting Dammage From Bike
« Reply #6 on: 05 Jul 2004, 10:29:30 »
mail BAS about it.

:beat: *Gets Shot* :beat:

CopyrightPhilly

  • Guest
Re:Getting Dammage From Bike
« Reply #7 on: 05 Jul 2004, 10:30:56 »
yea i'll do that now, cheers everone for your help.

i'll keep the thread open just incase anyone knows a way

thanks again, Philly