Difference between revisions of "hideBody"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 5: Line 5:
  
 
|1.00|= Game version
 
|1.00|= Game version
|arg= local |= Multiplayer Arguments
+
|arg= local |Multiplayer Arguments=
|eff= global |= Multiplayer Effects
+
|eff= global |Multiplayer Effects=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 12:09, 5 August 2019

Introduced with Armed Assault version 1.001.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

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.

Syntax

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

Examples

Example 1:
hideBody player1;

Additional Information

See also:
deleteVehiclesetDamageaddToRemainsCollector

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section