Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //21st Relaxed Realism AI Modification
- //Credits: Vegas, Heffree, A. Maverick
- // ====================================================================================
- sleep 2; //Account for server lag
- abadguy = (_this select 0);
- abadguy setUnitPos "UP";
- abadguy disableAI "SUPPRESSION";
- abadguy allowFleeing 0;
- abadguy forceAddUniform "CFP_U_FieldUniform_mtp_snow";
- while {alive abadguy} do {
- thetarget = (abadguy findNearestEnemy abadguy);
- if !(captive thetarget) then {
- {if ((side abadguy) == independent && (side _x) == WEST) then {abadguy reveal [_x, 4]}} foreach allUnits;
- if ((side abadguy) == independent && (side thetarget) == WEST) then {abadguy doMove (position thetarget)};
- {if ((side abadguy) == EAST && (side _x) == WEST) then {abadguy reveal [_x, 4]}} foreach allUnits;
- if ((side abadguy) == EAST && (side thetarget) == WEST) then {abadguy doMove (position thetarget)};
- };
- sleep 60;
- };
- // ====================================================================================
- // ====================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement