{"name":"BIS_fnc_VREffectKilled","operator":null,"title":"BIS fnc VREffectKilled","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_VREffectKilled","revid":349396,"updated":"2023-11-08T16:27:25Z","groups":["VR"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.24"}],"since":{"game":"arma3","name":"Arma 3","version":"1.24"},"arma3_since":"1.24","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":"spawn","description":"Delete body of a virtual soldier after he's killed.","syntaxes":[{"syntax":"[object, instant, delay] call BIS_fnc_VREffectKilled","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"object","types":["Object"],"since":null,"text":"object: Object - object"},{"name":"instant","type":"Boolean","optional":true,"default":"false","description":"true to delete the body right away, false to add **killed** EH which will delete it after death","types":["Boolean"],"since":null,"text":"instant: Boolean - (Optional, default false) true to delete the body right away, false to add **killed** EH which will delete it after death"},{"name":"delay","type":"Number","optional":true,"default":"10","description":"time in seconds before the body disappears","types":["Number"],"since":null,"text":"delay: Number - (Optional, default 10) time in seconds before the body disappears"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true when the function is done","text":"Boolean - true when the function is done"}}],"examples":[{"text":"```sqf\n[player] call BIS_fnc_VREffectKilled;\n```","code":["[player] call BIS_fnc_VREffectKilled;"]},{"text":"```sqf\n[player, true, 5] spawn BIS_fnc_VREffectKilled;\n```","code":["[player, true, 5] spawn BIS_fnc_VREffectKilled;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Virtual Reality Custom Courses"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: VR","Functions","Introduced with Arma 3 version 1.24"],"docblock":null,"filled_from_docblock":[]}