Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if (isPlayer _killer) then {
//display standard kill message here
} else {
if ((alive _killer) && ((vehicle_killer) isKindOf "CAManBase")) then {
//display generic killed by AI message here
};
};
You could have a generic killed by AI death message. It would take a small edit of an existing death message script to check if the "killer" unit is:
This is a brief outline of how it could work:
- Of type CAManBase (the umbrella classname that all player/AI units fall under)
- Is alive
- Is not a player
Code:if (isPlayer _killer) then { //display standard kill message here } else { if ((alive _killer) && ((vehicle_killer) isKindOf "CAManBase")) then { //display generic killed by AI message here }; };