BIS fnc VREffectKilled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 17: | Line 17: | ||
|r1= [[Boolean]] - [[true]] when the function is done | |r1= [[Boolean]] - [[true]] when the function is done | ||
|x1= <code>[ player ] call | |x1= <code>[ player ] call BIS_fnc_VREffectKilled;</code> | ||
|x2= <code>[ player, true, 5 ] | |x2= <code>[ player, true, 5 ] spawn [[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 21:37, 12 July 2022
Description
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 - true when the function is done
Examples
- Example 1:
[ player ] call BIS_fnc_VREffectKilled;
- Example 2:
[ player, true, 5 ] spawn BIS_fnc_VREffectKilled;
Additional Information
- See also:
- Arma 3 VR Custom Courses VR 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