BIS fnc VREffectKilled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 9: | Line 9: | ||
|descr= Delete body of a virtual soldier after he's killed. | |descr= Delete body of a virtual soldier after he's killed. | ||
|s1=[object, instant, delay] call [[BIS_fnc_VREffectKilled]] | |s1= [object, instant, delay] call [[BIS_fnc_VREffectKilled]] | ||
|p1= object: [[Object]] - Object | |p1= object: [[Object]] - Object |
Revision as of 23:11, 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:
- Example 2:
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