BIS fnc VREffectKilled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.24 | |1.24 | ||
|gr1= VR | |gr1= VR | ||
| Delete body of a virtual soldier after he's killed. | | Delete body of a virtual soldier after he's killed. | ||
| [object, instant, delay] call [[BIS_fnc_VREffectKilled]] | | [object, instant, delay] call [[BIS_fnc_VREffectKilled]] | ||
|p1= object: [[Object]] - Object | |p1= object: [[Object]] - Object | ||
|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 | |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 | ||
|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 | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[ [[player]], [[true]], 5 ] [[call]] [[BIS_fnc_VREffectKilled]];</code> | |x1= <code>[ [[player]], [[true]], 5 ] [[call]] [[BIS_fnc_VREffectKilled]];</code> | ||
| [[Arma 3: Virtual Reality Custom Courses|Arma 3 VR Custom Courses]], [[:Category:Function Group: VR|VR functions]] | | [[Arma 3: Virtual Reality Custom Courses|Arma 3 VR Custom Courses]], [[:Category:Function Group: VR|VR functions]] | ||
}} | }} | ||
Revision as of 22:23, 17 January 2021
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
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