Explode Target Script Edit
How would I go about changing this script so that I could explode someone by their name just by executing the script? For example, say I don't like someone named "Bob" in the server, then I change something in the script to "Bob"(or something which targets him), execute the script and he explodes.
Code:
_name = _this select 0;
{
if(name _x == _name) then
{
_unit = (vehicle _x);
_object = "HelicopterExploSmall" createvehiclelocal (getPos _unit);
cutText [format["Exploded %1", name _unit], "PLAIN DOWN"];
};
} forEach playableUnits;