BIS fnc VREffectKilled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.24|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Delete body of a virtual soldier after he's killed. |= Description
____________________________________________________________________________________________


Description:
| [object, instant, delay] call [[BIS_fnc_VREffectKilled]] |= Syntax
Delete body of a virtual soldier after he's killed
____________________________________________________________________________________________
 
Parameter(s):
0: OBJECT
1 (Optional): BOOL - true to delete the body right away, false to add KILLED event handler which will delete it after death
2 (Optional): NUMBER - time in seconds before the body disappears
 
Returns:
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|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
|p3= delay: [[Number]] - (Optional, default 10) Time in seconds before the body disappears|= Parameter 3
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_VREffectKilled]]; --> |= Syntax
| [[Boolean]]|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[ [[player]], [[true]], 5] [[call]] [[BIS_fnc_VREffectKilled]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Arma3: Virtual Reality Custom Courses]], [[:Category:Function Group: VR|VR functions]] |= See also
 
}}
}}



Revision as of 16:37, 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