hideBody: Difference between revisions
Categories: Scripting CommandsIntroduced with Arma version 1.00Arma: New Scripting CommandsArma: Scripting CommandsCommand Group: UncategorisedScripting Commands: Global EffectScripting Commands ArmAScripting Commands ArmA2Scripting Commands Arma 3Scripting Commands Take On HelicoptersCommand Group: Object Manipulation
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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. |= | | 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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''hideBody''' unit |= | | '''hideBody''' unit |SYNTAX= | ||
|p1= unit: [[Object]] - person |= | |p1= unit: [[Object]] - person |PARAMETER1= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[hideBody]] player1;</code> |= | |x1= <code>[[hideBody]] player1;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[deleteVehicle]], [[setDamage]], [[addToRemainsCollector]] |= | |[[deleteVehicle]], [[setDamage]], [[addToRemainsCollector]] |SEEALSO= | ||
}} | }} |
Revision as of 15:41, 7 April 2019
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:
- Uncategorised
Syntax
Examples
- Example 1:
hideBody player1;
Additional Information
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Object Manipulation