hideObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "</dd> <dt><dt>" to "</dd> <dt><dt>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|1.06 | |version1= 1.06 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 19: | Line 19: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Hide entity. Can be used on soldiers and vehicles, also on static objects. | |descr= Hide entity. Can be used on soldiers and vehicles, also on static objects. | ||
| | |s1= [[hideObject]] object | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
Line 27: | Line 27: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|s2= object | |s2= object [[hideObject]] hidden | ||
|p21= object: [[Object]] | |p21= object: [[Object]] | ||
Line 39: | Line 39: | ||
|x2= <code>objectName [[hideObject]] true;</code> | |x2= <code>objectName [[hideObject]] true;</code> | ||
| [[isObjectHidden]], [[hideObjectGlobal]], [[deleteCollection]] | |seealso= [[isObjectHidden]], [[hideObjectGlobal]], [[deleteCollection]] | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on July 15, 2010 - 20:00</dd> | <dd class="notedate">Posted on July 15, 2010 - 20:00</dd> | ||
Line 51: | Line 50: | ||
<dt class="note">[[User:McHide|McHide]]</dt> | <dt class="note">[[User:McHide|McHide]]</dt> | ||
<dd class="note">Use MP framework to activate this | <dd class="note">Use MP framework to activate this command on all players from server or any other maschine | ||
<code>_nic = [nil, mantohide, "per", rHideObject, [[true]] ] [[call]] RE; | <code>_nic = [nil, mantohide, "per", rHideObject, [[true]] ] [[call]] RE; {{cc|In A3 use [[hideObjectGlobal]] instead.}}</code> | ||
<dt class="note">[[User:DamonDaemon|DamonDaemon]]</dt> | <dt class="note">[[User:DamonDaemon|DamonDaemon]]</dt> | ||
<dd class="note"> | <dd class="note">Hidden Vehicles still emit smoke/rotor blade dust and (probably) still emit engine sounds. | ||
Useful for creating objects the mission maker doesn't want to be seen, like Units that protect a certain Area (like a safe-zone) against teamkillers or enemy units.</dd> | |||
<dd class="notedate">Posted on March 5, 2014 - 16:25</dd> | <dd class="notedate">Posted on March 5, 2014 - 16:25</dd> | ||
<dt class="note">[[User:Krycek CADelta|[CAD] Krycek]]</dt> | <dt class="note">[[User:Krycek CADelta|[CAD] Krycek]]</dt> | ||
<dd class="note">As of today this now finally has a Global counterpart, just released on the Stable branch. Added it is link under See also. | <dd class="note">As of today this now finally has a Global counterpart, just released on the Stable branch. Added it is link under See also. | ||
</ | </dd> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on October 30, 2014 - 05:54 (UTC)</dd> | <dd class="notedate">Posted on October 30, 2014 - 05:54 (UTC)</dd> | ||
<dt class="note">[[User:Benargee|Benargee]]</dt> | <dt class="note">[[User:Benargee|Benargee]]</dt> | ||
<dd class="note">When used on player, it only has an effect on third person mode. First person [[LOD]] is still visible. (A3 Dev 1.33) | <dd class="note">When used on player, it only has an effect on third person mode. First person [[LOD]] is still visible. (A3 Dev 1.33)</dd> | ||
</dd> | |||
<dt><dt> | <dt><dt> | ||
Line 87: | Line 75: | ||
</dd> | </dd> | ||
</dl> | </dl> |
Revision as of 10:05, 11 June 2021
Description
- Description:
- Hide entity. Can be used on soldiers and vehicles, also on static objects.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- hideObject object
- Parameters:
- object: Object
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- object hideObject hidden
- Parameters:
- object: Object
- hidden: Boolean - true->hidden; false->visible
- Return Value:
- Nothing
Examples
- Example 1:
hideObject unitName;
- Example 2:
objectName hideObject true;
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
- Posted on July 15, 2010 - 20:00
- Shuko
- This command will hide a unit, but he will still shoot enemies. Unit will be invisible, but weapon muzzle are visible.
- McHide
- Use MP framework to activate this command on all players from server or any other maschine
_nic = [nil, mantohide, "per", rHideObject, true ] call RE; // In A3 use hideObjectGlobal instead.
- DamonDaemon
- Hidden Vehicles still emit smoke/rotor blade dust and (probably) still emit engine sounds. Useful for creating objects the mission maker doesn't want to be seen, like Units that protect a certain Area (like a safe-zone) against teamkillers or enemy units.
- Posted on March 5, 2014 - 16:25
- [CAD] Krycek
- As of today this now finally has a Global counterpart, just released on the Stable branch. Added it is link under See also.
- Posted on October 30, 2014 - 05:54 (UTC)
- Benargee
- When used on player, it only has an effect on third person mode. First person LOD is still visible. (A3 Dev 1.33)
- Posted on June 27, 2015 - 18:14 (UTC)
- DreadedEntity
- hideObject and hideObjectGlobal disable object collision in addition to rendering. A3 1.45.131175 (tested by hiding buildings and running through, driving through, flying through, and shooting through where the building used to be)