hideObjectGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added alternative syntax, arguments and effect icons)
(Now that we have alt syntax the note about it can go)
Line 41: Line 41:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 08 March 2014
<dt class="note>'''[[User:EUTWtrnapster|EUTWtrnapster]]'''
<dd class="note">
This command is lacking the alternative syntax of [[hideObject]]. This means you can only hide an object but not unhide it. EDIT: As of 1.17 this is no longer true.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 21:19, 17 April 2014

Hover & click on the images for description

Description

Description:
Hides object on all connected clients as well as JIP. Has effect only when executed on server. Can be used on all objects with class names, i.e. (typeOf object != "").
Groups:
Uncategorised

Syntax

Syntax:
hideObjectGlobal object
Parameters:
object: Object - object to hide
Return Value:
Nothing

Alternative Syntax

Syntax:
object hideObjectGlobal hidden
Parameters:
object: Object.
hidden: Boolean hidden/visible.
Return Value:
Nothing

Examples

Example 1:
hideObjectGlobal nearestBuilding [2500,2500,0];
Example 2:
objectname hideObjectGlobal true;

Additional Information

See also:
hideObject

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