Description
Delete body of a virtual soldier after he's killed.
Syntax
[object, instant, delay] call BIS_fnc_VREffectKilled
Parameters:
object: Object - objectinstant: Boolean - (Optional, default false) true to delete the body right away, false to add killed EH which will delete it after deathdelay: Number - (Optional, default 10) time in seconds before the body disappears
Returns: Boolean - true when the function is done
Examples
Example 1
[player] call BIS_fnc_VREffectKilled;
Example 2
[player, true, 5] spawn BIS_fnc_VREffectKilled;