hideBody: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma1 |Game name=
|game1= arma1
|version1= 1.00


|1.00|Game version=
|game2= arma2
|version2= 1.00


|arg= local |Multiplayer Arguments=
|game3= arma2oa
|version3= 1.50


|eff= global |Multiplayer Effects=
|game4= tkoh
|version4= 1.00


|gr1= Object Manipulation |GROUP1=
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| 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=
|arg= local
____________________________________________________________________________________________


| '''hideBody''' unit |SYNTAX=
|eff= global


|p1= unit: [[Object]] - person |PARAMETER1=
|gr1= Object Manipulation


| [[Nothing]] |RETURNVALUE=
|descr= 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.
____________________________________________________________________________________________
 
|x1= <code>[[hideBody]] player1;</code> |EXAMPLE1=
____________________________________________________________________________________________


|[[deleteVehicle]], [[setDamage]], [[addToRemainsCollector]] |SEEALSO=
|s1= [[hideBody]] unit


}}
|p1= unit: [[Object]] - person


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>hideBody player1;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[deleteVehicle]] [[setDamage]] [[addToRemainsCollector]]
{{GameCategory|arma2|Scripting Commands}}
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

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