Home   Help Search Login Register  

Author Topic: Alive?  (Read 639 times)

0 Members and 1 Guest are viewing this topic.

Knut Erik

  • Guest
Alive?
« on: 03 Feb 2003, 14:45:31 »
Hi.
I have a mission where you must protect an truck.
When I lost I used this script
not (alive truck1)

But what do I do to indicate that the truck is alive?
The objective is "Protect the truck" so I want the objective to be completed untill it is destroyed.
Can anyone help me?

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Alive?
« Reply #1 on: 03 Feb 2003, 18:01:18 »
Is this a trick question?

Simply, remove the not, and you check if it's alive.

alive truck1
Ranger

Knut Erik

  • Guest
Re:Alive?
« Reply #2 on: 03 Feb 2003, 20:07:45 »
Øh.
Smart!
Why did I not think of that.
I've tried:
If (alive truck1)
true (alive truck1)
and so on. Thanks a lot.. ;D