Home   Help Search Login Register  

Author Topic: Fire script problem  (Read 450 times)

0 Members and 1 Guest are viewing this topic.

Captain Winters

  • Guest
Fire script problem
« on: 29 Jun 2003, 03:13:32 »
This is a simple little script I made up to set a fire's postion constantly to the specified tanks position...:

Code: [Select]
_armour = this _select 0
_fire = this _select 1

getDammage _armour if < 0.8
_fire inflame true
#loop
_fire setPos getPos _armour
~0.0001
goto "loop"

I always get this error:



...

Any ideas??

Tanks! 8)

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Fire script problem
« Reply #1 on: 29 Jun 2003, 03:18:30 »
it shud b

Code: [Select]
_armour = this _select 0
_fire = this _select 1

@ getDammage _armour > 0.8
_fire inflame true
#loop
_fire setPos getPos _armour
~0.0001
goto "loop"

i think ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Captain Winters

  • Guest
Re:Fire script problem
« Reply #2 on: 29 Jun 2003, 04:04:57 »
God, LCD! How many times u help me today? I lost count around 7 or eight  ;D thanks bud!

Tanks! 8)