BIS fnc VREffectKilled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
(function has to be scheduled when instant param is true)
Line 4: Line 4:
|version1= 1.24
|version1= 1.24


|exec= spawn
|gr1= VR
|gr1= VR



Revision as of 15:31, 10 October 2021

Hover & click on the images for description

Description

Description:
Delete body of a virtual soldier after he's killed.
Execution:
spawn
Groups:
VR

Syntax

Syntax:
[object, instant, delay] call BIS_fnc_VREffectKilled
Parameters:
object: Object - Object
instant: Boolean - (Optional, default false) true to delete the body right away, false to add killed EH which will delete it after death
delay: Number - (Optional, default 10) Time in seconds before the body disappears
Return Value:
Boolean

Examples

Example 1:
[ player, true, 5 ] call BIS_fnc_VREffectKilled;

Additional Information

See also:
Arma 3 VR Custom CoursesVR functions

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note