Anyone know on how to have a unit say a rifle man spawn on a marker after he has died....I'm not talking about a player or a playable unit. Im talking about a NPC. My mission is using units in a town to recruit them and when they die more is respawned after a "cool down" any one have a script for this or and direction I can be pointed in would be nice thank in advanced.
There's probably more streamlined ways, but here's a quick hack using a respawn EH.
_unit addEventHandler ["Respawn", {
if (typeOf (_this select 0) in ["B_Soldier_F", "B_officer_F"]) then { // If the unit's type is in the array, then move him to the marker's position
(_this select 0) setPos getMarkerPos "myMrk";
};
}];