Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _brute = _this select 0;
- _goat = group _brute createUnit ["Goat", Position _brute, [], 0, "NONE"];
- [_goat] joinsilent grpnull;
- novictim = 1;
- publicvariable "novictim";
- while {alive _goat && novictim == 1} do
- {
- _list = _brute nearEntities ["Man", 500];
- _victim = _list call BIS_fnc_selectRandom;
- } else if (alive _goat && side _victim == east) then
- {
- novictim = 0;
- publicvariable "novictim";
- _goat setVariable ["victim", _victim, true];
- hintsilent format ["%1 %2",_victim, novictim];
- };
- _victim = _goat getVariable "victim";
- hintsilent format ["%1 %2",_victim, novictim];
- if (novictim == 0 && 10 > _goat distance _victim) then
- {
- _victim = _goat getVariable "victim";
- //_goat domove (position "_victim");
- [nil,_goat,rMOVE,(position _victim)] call RE;
- hint format ["%1 %2",_victim, novictim];
- sleep 5;
- _bomb = "Bo_GBU12_LGB" createVehicle [0,0,100];
- };
Advertisement
Add Comment
Please, Sign In to add comment