{"name":"BIS_fnc_VREffectKilled","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","games":{"arma3":"1.24"},"since":"arma3 1.24","arma3_since":"1.24","exec":"spawn","description":"Delete body of a virtual soldier after he's killed.","syntaxes":[{"syntax":"[object, instant, delay] call BIS_fnc_VREffectKilled","params":[{"name":"object","type":"Object","description":"object","type_expr":"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","type_expr":"Boolean","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","type_expr":"Number","text":"delay: Number - (Optional, default 10) time in seconds before the body disappears"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when the function is done"}}],"examples":[{"code":["[player] call BIS_fnc_VREffectKilled;"]},{"code":["[player, true, 5] spawn BIS_fnc_VREffectKilled;"]}],"see_also":["Arma 3: Virtual Reality Custom Courses"]}