Hi,
I use to spawn units from server-side scripts like
...with DZAI 1.9.2.
This should spawn 1 AI on _spawnPos with loadout 0 - and it actually does.
However, the guy spawns with primary weapon and empty backpack only. Sometimes with binoculars.
Also killing a AI neither gives bandit kill nor huminaty.
After some time I want to despawn / delete the unit if it's not killed with
but its doesn't work.
RPT shows
Please tell me what I'm doing wrong.
Thanks.
I use to spawn units from server-side scripts like
Code:
_guards = [1,grpNull,_spawnPos,objNull,0] call DZAI_setup_AI;
...with DZAI 1.9.2.
This should spawn 1 AI on _spawnPos with loadout 0 - and it actually does.
However, the guy spawns with primary weapon and empty backpack only. Sometimes with binoculars.
Also killing a AI neither gives bandit kill nor huminaty.
After some time I want to despawn / delete the unit if it's not killed with
Code:
deleteVehicle _guards;
but its doesn't work.
RPT shows
Code:
21:57:11 Error position: <deleteVehicle _guards;>
21:57:11 Error deletevehicle: Type Group, expected Object
Please tell me what I'm doing wrong.
Thanks.