OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Octavius on 14 Nov 2005, 19:17:13
-
Hello
In the mission I'm working on there are 6 fuel trucks that the players are to destroy. They are named target1 - target6.
Then I made 6 triggers and in the
"activation" field I put: game logic (I've tried with none and anybody)
and in the "condtion" field I've put: Not(alive target1)
and in the "on activation" field: "OBJ_1" objstatus "Done"
The html code in the briefing lookes like this:
<p><a name="OBJ_1"></a>fuel truck 1
</p><hr>
But when I try the mission and blow up the trucks the objectives in the briefing dosen't change what have I done wrong?
Octavius
-
So close, yet so far. ;)
"1" objstatus "done"
should do the trick.
-
Welcome to the forum!
Alive is not a great command to use with vehicles, especially armour. The truck can look destroyed when in fact it is 0.0001% alive which means your trigger doesn't fire. Alive works fine for soldiers, but for vehicles its usually better to use something like
not canMove fuelTruck1
etc..
-
Thanks for the advice it works fine now
Octavius
-
if its solved use the solve button lower left of the screen so we all know its solved