hideObjectGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Added alternative syntax, arguments and effect icons)
Line 5: Line 5:


|1.12|= Game version
|1.12|= Game version
|arg= global |= Effects in MP
|eff= global |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 18:
|p1= object: [[Object]] - object to hide |= Parameter 1
|p1= object: [[Object]] - object to hide |= Parameter 1
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
|s2= object '''hideObjectGlobal''' hidden |=
|p21= object: [[Object]].|=
|p22= hidden: [[Boolean]] hidden/visible.|=
|r2= [[Nothing]]|=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[hideObjectGlobal]] [[nearestBuilding]] [2500,2500,0];</code> |= Example 1
|x1= <code>[[hideObjectGlobal]] [[nearestBuilding]] [2500,2500,0];</code> |= Example 1
____________________________________________________________________________________________
|x2= <code>objectname [[hideObjectGlobal]] true;</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 30: Line 45:
<dt class="note>'''[[User:EUTWtrnapster|EUTWtrnapster]]'''
<dt class="note>'''[[User:EUTWtrnapster|EUTWtrnapster]]'''
<dd class="note">
<dd class="note">
This command is lacking the alternative syntax of [[hideObject]]. This means you can only hide an object but not unhide it.
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 -->

Revision as of 20:37, 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

Posted on 08 March 2014
EUTWtrnapster
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.

Bottom Section