hideObject: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "</dt>" to "") |
m (Text replace - "</dd>" to "") |
||
Line 41: | Line 41: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on July 15, 2010 - 20:00 | <dd class="notedate">Posted on July 15, 2010 - 20:00 | ||
<dt class="note">'''[[User:Shuko|Shuko]]''' | <dt class="note">'''[[User:Shuko|Shuko]]''' | ||
<dd class="note">This command will hide a unit, but he will still shoot enemies. Unit will be invisible, but weapon muzzle are visible. | <dd class="note">This command will hide a unit, but he will still shoot enemies. Unit will be invisible, but weapon muzzle are visible. | ||
<dt class="note">'''[[User:McHide|McHide]]''' | <dt class="note">'''[[User:McHide|McHide]]''' | ||
<dd class="note">Use MP framework to activate this comand on all players from server or any other maschine | <dd class="note">Use MP framework to activate this comand on all players from server or any other maschine | ||
<code>_nic = [nil, mantohide, "per", rHideObject, true] call RE;</code | <code>_nic = [nil, mantohide, "per", rHideObject, true] call RE;</code> | ||
<dt class="note">'''[[User:Demonized|Demonized]]''' | <dt class="note">'''[[User:Demonized|Demonized]]''' | ||
<dd class="note">you can use code as in example 2, where true = ON and false = OFF, if using it like in example 1, you can only turn it ON | <dd class="note">you can use code as in example 2, where true = ON and false = OFF, if using it like in example 1, you can only turn it ON | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 13:34, 21 October 2011
Description
- Description:
- Hide entity. Can be used on soldiers and vehicles, also on static objects.
- Multiplayer:
- Command has local effect, needs to be run on each client.
- Groups:
- Uncategorised
Syntax
Alternative Syntax
- Syntax:
- object hideObject hidden
- Parameters:
- object: Object.
- hidden: Boolean hidden/visible.
- Return Value:
- Nothing
Examples
- Example 1:
hideObject unitName;
- Example 2:
objectName hideObject true;
Additional Information
- See also:
- See also needed
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
- 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 comand on all players from server or any other maschine
_nic = [nil, mantohide, "per", rHideObject, true] call RE;
- Demonized
- you can use code as in example 2, where true = ON and false = OFF, if using it like in example 1, you can only turn it ON