hideObjectGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(hideobjectglobal works in sp)
m (improved parameter description)
Line 23: Line 23:
|s2= object '''hideObjectGlobal''' hidden |=  
|s2= object '''hideObjectGlobal''' hidden |=  


|p21= object: [[Object]].|=
|p21= object: [[Object]]|=
|p22= hidden: [[Boolean]] hidden/visible.|=  
|p22= hidden: [[Boolean]] [[true]]->hidden; [[false]]->visible|=  


|r2= [[Nothing]]|=
|r2= [[Nothing]]|=

Revision as of 22:08, 21 May 2016

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 != "").
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 true->hidden; false->visible
Return Value:
Nothing

Examples

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

Additional Information

See also:
hideObjectisObjectHiddendeleteCollection

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

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)