hideBody: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.00|= Game version
|game2= arma2
|arg= local |= Multiplayer Arguments
|version2= 1.00
|eff= global |= Multiplayer Effects
____________________________________________________________________________________________


| 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
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| '''hideBody''' unit |= Syntax
|game4= tkoh
|version4= 1.00


|p1= unit: [[Object]] - person |= Parameter 1
|game5= arma3
|version5= 0.50


| [[Nothing]] |= Return value
|arg= local
____________________________________________________________________________________________
 
|x1= <code>[[hideBody]] player1;</code> |= Example 1
____________________________________________________________________________________________


|[[deleteVehicle]], [[setDamage]], [[addToRemainsCollector]] |= See also
|eff= global


}}
|gr1= Object Manipulation
 
|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.
 
|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]]
[[Category:Scripting Commands|HIDEBODYD]]
}}
[[Category:Scripting Commands ArmA|HIDEBODY]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14: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