BIS fnc VREffectKilled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (bad link)
Line 14: Line 14:


|p1= object: [[Object]] - Object|= Parameter 1
|p1= object: [[Object]] - Object|= Parameter 1
|p2= instant: [[Boolean]] - (Optional, default [[false]]) [[True]] to delete the body right away, [[false]] to add '''killed''' [[EH]] which will delete it after death|= Parameter 2
|p2= instant: [[Boolean]] - (Optional, default [[false]]) [[True]] to delete the body right away, [[false]] to add '''killed''' [[addEventHandler|EH]] which will delete it after death|= Parameter 2
|p3= delay: [[Number]] - (Optional, default 10) Time in seconds before the body disappears|= Parameter 3
|p3= delay: [[Number]] - (Optional, default 10) Time in seconds before the body disappears|= Parameter 3
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 17:38, 5 June 2018

Hover & click on the images for description

Description

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

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:
Arma3: Virtual Reality 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

Notes

Bottom Section