Quantcast
Channel: Open DayZ Community
Viewing all articles
Browse latest Browse all 9028

Base AI Guards

$
0
0
This script spawns an AI in an area. When a specific player enters the area, the weapons are remove. When he leaves the area, the weapons are put back.

This is ran from my server_functions.sqf.

The AI Spawn, but weapons do not change.

Does anyone know what this doesn't work?

HTML:
waitUntil {count playableunits > 0};
private ["_ai1","_playernear","_playerUID","_aiGroup"];
_aiGroup = createGroup resistance;

_ai1 = ObjNull;
"Bandit1_DZ" createUnit [[6535,5600,0], _aiGroup, "_ai1=this", 1,...
Base AI Guards

Viewing all articles
Browse latest Browse all 9028

Trending Articles