Post by Gunter Severloh on Feb 28, 2021 15:02:55 GMT -6
!Alive Check
Using !Alive in a trigger basically checks to see if the object (name) is alive.
So this can be a soldier, a car, a radio tower, anything that moves, or exists, almost depends as a radio tower is a static object.
How to create objectives using the !Alive check
This is a very simple way to create many objectives in a mission without the need of all sorts of scripts
and extra coding. When i normally use this parameter I like to use it in relation to a marker.
Example on how to use
Heres how this works, below is an example of how to use this :
Killing an enemy officer Example
At the same time the marker on the map will be deleted.
==================
As you can see you can copy this and use it for multiple objectives, for example you can set it up to have a radio
tower as an objective, same concept applies, just give the tower a name, put a marker down, adjust the !alive trigger.
You can use this concept with anything ingame that can be destroyed, makes for a long mission when
your map is dotted with multiple objectives, this is an alternative way to using Tasks.
===============
Using !Alive in a trigger basically checks to see if the object (name) is alive.
So this can be a soldier, a car, a radio tower, anything that moves, or exists, almost depends as a radio tower is a static object.
How to create objectives using the !Alive check
This is a very simple way to create many objectives in a mission without the need of all sorts of scripts
and extra coding. When i normally use this parameter I like to use it in relation to a marker.
Example on how to use
Heres how this works, below is an example of how to use this :
Killing an enemy officer Example
- Place a player on the map wherever you want, basically where you want him to start.
- Place (insert) an enemy officer wherever you want, away from you somewhere that you need to travel too.
- Give this officer a name, edit the unit and in the variable name box name the officer Ivan
- Create a trigger under axis A and Axis B at the top make the numbers 0 (zero)
- Condition
!alive ivan
- On Activation
hint "The enemy Officer has been eliminated!"; deleteMarker "ivan1";
- Create a marker name it: Ivan1 Text: Enemy officer
- Save, play. Once ingame go to your map you should see a marker that says: Enemy Officer
- Go to where that marker is on your map, kill the officer and a hint (message) will popup on the screen and say:
The enemy Officer has been eliminated!
At the same time the marker on the map will be deleted.
==================
As you can see you can copy this and use it for multiple objectives, for example you can set it up to have a radio
tower as an objective, same concept applies, just give the tower a name, put a marker down, adjust the !alive trigger.
You can use this concept with anything ingame that can be destroyed, makes for a long mission when
your map is dotted with multiple objectives, this is an alternative way to using Tasks.
===============