hideObjectGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Now that we have alt syntax the note about it can go)
(description)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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 <nowiki>!=</nowiki> ""). |= Description
| MP command. Hides object on all connected clients as well as JIP. Call on the server only. Can be used on all objects with class names, i.e. ([[typeOf]] object <nowiki>!=</nowiki> ""). In SP use [[hideObject]]|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 18:58, 2 May 2014

Hover & click on the images for description

Description

Description:
MP command. Hides object on all connected clients as well as JIP. Call on the server only. Can be used on all objects with class names, i.e. (typeOf object != ""). In SP use hideObject
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