OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Knut Erik 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?
-
Is this a trick question?
Simply, remove the not, and you check if it's alive.
alive truck1
-
Ø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