felixberndt
Member
Instead of _zombie setDamage 1;
use:
deleteVehicle _zombie;
Would be better, as there's no additional bodies to clear up (less lag) and no cheaters hanging around just to loot the already dead zeds!
I'm actually going to be adding a safe trading zone with no shooting and no zeds to my server by the end of next week, so I'll probably post it up here if I remember.
What would be the execution command for this trigger?= Maybe st like this???
Code:
{{deleteVehicle _zombie} foreach crew _zombie; deleteVehicle _zombie} foreach thislist
i tried
Code:
{deleteVehicle _zombie} forEach thisList;
When a player logs out from the server in my arma2oaserver.RPT following occurs:
Code:
20:40:08 "Second Hand Zombie Initialized: [[11360.5,11331.7,0.000823975],Agent 0x1bb90080,true]"
20:40:08 "CLEANUP: DELETE UNCONTROLLED ZOMBIE: z_hunter OF: Agent 0x1bb90080"
20:40:08 "Second Hand Zombie Initialized: [[11438.2,11290.5,0.00177002],Agent 0x1fd66080,true]"
20:40:08 "CLEANUP: DELETE UNCONTROLLED ZOMBIE: z_villager3 OF: Agent 0x1fd66080"
20:40:08 "Second Hand Zombie Initialized: [[11509.4,11337.5,0.00164795],Agent 0x1fd70080,true]"
20:40:08 "CLEANUP: DELETE UNCONTROLLED ZOMBIE: z_hunter OF: Agent 0x1fd70080"
20:40:08 "Second Hand Zombie Initialized: [[11479.2,11324.5,0.00146484],Agent 0x1fd7a080,true]"
20:40:08 "CLEANUP: DELETE UNCONTROLLED ZOMBIE: z_hunter OF: Agent 0x1fd7a080"
20:40:08 "Second Hand Zombie Initialized: [[11565.8,11326.5,0.00146484],Agent 0x1fd84080,true]"
20:40:08 "CLEANUP: DELETE UNCONTROLLED ZOMBIE: z_teacher OF: Agent 0x1fd84080"
But what i want to do is deleting "still controlled" - Zeds serverside in a certain location
So do i have to make a "deleteVehicle" command for every single model, like for example
Code:
{deleteVehicle _z_hunter} forEach thisList;
{deleteVehicle _z_teacher} forEach thisList;
It would be better to be able to delete the whole faction "zombie", but havent found the definition for it in dayz Code yet...