hideBody: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(2 intermediate revisions by the same user not shown)
Line 30: Line 30:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[hideBody]] player1;</code>
|x1= <sqf>hideBody player1;</sqf>


|seealso= [[deleteVehicle]], [[setDamage]], [[addToRemainsCollector]]
|seealso= [[deleteVehicle]] [[setDamage]] [[addToRemainsCollector]]
}}
}}

Latest revision as of 13:17, 5 May 2022

Hover & click on the images for description

Description

Description:
Hides dead body of the given unit. After a short delay, the body slowly sinks into the ground. After awhile, when group of the unit becomes grpNull, the body gets deleted and becomes objNull. If applied to alive unit, nothing happens until unit dies, then the unit's body gets hidden. If a dead unit is human player, the body is hidden but not deleted until player respawns.
Groups:
Object Manipulation

Syntax

Syntax:
hideBody unit
Parameters:
unit: Object - person
Return Value:
Nothing

Examples

Example 1:
hideBody player1;

Additional Information

See also:
deleteVehicle setDamage addToRemainsCollector

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