BIS fnc VREffectKilled: Difference between revisions
Jump to navigation
Jump to search
m (example) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Delete body of a virtual soldier after he's killed. |= | | Delete body of a virtual soldier after he's killed. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [object, instant, delay] call [[BIS_fnc_VREffectKilled]] |= | | [object, instant, delay] call [[BIS_fnc_VREffectKilled]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= object: [[Object]] - Object|= | |p1= object: [[Object]] - Object|PARAMETER1= | ||
|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|PARAMETER2= | ||
|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|PARAMETER3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]]|= | | [[Boolean]]|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma3: Virtual Reality Custom Courses]], [[:Category:Function Group: VR|VR functions]] |= | | [[Arma3: Virtual Reality Custom Courses]], [[:Category:Function Group: VR|VR functions]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:34, 7 April 2019
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
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