BIS fnc VREffectKilled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
m (Text replacement - "\|" to "|")
Line 15: Line 15:
|p3= delay: [[Number]] - (Optional, default 10) Time in seconds before the body disappears
|p3= delay: [[Number]] - (Optional, default 10) Time in seconds before the body disappears


\|r1= [[Boolean]]
|r1= [[Boolean]]


\|x1= <code>[ [[player]], [[true]], 5 ] [[call]] [[BIS_fnc_VREffectKilled]];</code>
|x1= <code>[ [[player]], [[true]], 5 ] [[call]] [[BIS_fnc_VREffectKilled]];</code>


|seealso= [[Arma 3: Virtual Reality Custom Courses|Arma 3 VR Custom Courses]], [[:Category:Function Group: VR|VR functions]]
|seealso= [[Arma 3: Virtual Reality Custom Courses|Arma 3 VR Custom Courses]], [[:Category:Function Group: VR|VR functions]]
}}
}}

Revision as of 11:33, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
VR

Syntax

Syntax:
Syntax needed
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