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?
Base AI Guards
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,...