Difference between revisions of "hideBody"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
 
(28 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|HIDEBODYD]]
+
{{Command|Comments=
[[Category:Scripting Commands ArmA|HIDEBODY]]
+
____________________________________________________________________________________________
  
 +
| arma1 |Game name=
  
<h2 style="color:#000066"> ''' hideBody '' person'''''</h2>
+
|1.00|Game version=
  
 +
|arg= local |Multiplayer Arguments=
  
'''Operand types:'''
+
|eff= global |Multiplayer Effects=
  
'''person''': [[Object]]
+
|gr1=  Object Manipulation |GROUP1=
 +
____________________________________________________________________________________________
  
'''Type of returned value:'''
+
| 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. |DESCRIPTION=
 +
____________________________________________________________________________________________
  
[[Nothing]]
+
| '''hideBody''' unit |SYNTAX=
  
'''Compatibility:'''
+
|p1= unit: [[Object]] - person |PARAMETER1=
  
Version 2.10 required.
+
| [[Nothing]] |RETURNVALUE=
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <code>[[hideBody]] player1;</code> |EXAMPLE1=
 +
____________________________________________________________________________________________
  
'''Description:'''
+
|[[deleteVehicle]], [[setDamage]], [[addToRemainsCollector]] |SEEALSO=
  
Hides the body of the given person.
+
}}
  
'''Example''':
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
'''hideBody''' [[player]]
+
<!-- Note Section END -->
 +
</dl>
 +
 
 +
<h3 style="display:none">Bottom Section</h3>
 +
{{GameCategory|arma2|Scripting Commands}}
 +
{{GameCategory|arma3|Scripting Commands}}
 +
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 01:36, 10 January 2021

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
Groups:
Object Manipulation

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