BIS fnc VREffectKilled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= VR |GROUP1=
|gr1= VR |GROUP1=
____________________________________________________________________________________________


| Delete body of a virtual soldier after he's killed. |DESCRIPTION=
| Delete body of a virtual soldier after he's killed. |DESCRIPTION=
____________________________________________________________________________________________


| [object, instant, delay] call [[BIS_fnc_VREffectKilled]] |SYNTAX=
| [object, instant, delay] call [[BIS_fnc_VREffectKilled]] |SYNTAX=
____________________________________________________________________________________________


|p1= object: [[Object]] - Object|PARAMETER1=
|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|PARAMETER2=
|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|PARAMETER3=
|p3= delay: [[Number]] - (Optional, default 10) Time in seconds before the body disappears|PARAMETER3=
____________________________________________________________________________________________


| [[Boolean]]|RETURNVALUE=
| [[Boolean]]|RETURNVALUE=
____________________________________________________________________________________________


|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]] |SEEALSO=
| [[Arma 3: Virtual Reality Custom Courses|Arma 3 VR Custom Courses]], [[:Category:Function Group: VR|VR functions]] |SEEALSO=

Revision as of 22:36, 16 January 2021

Hover & click on the images for description

Description

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

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

Notes

Bottom Section