Jump to content
Sign in to follow this  
roguetrooper

un-hide object?

Recommended Posts

Two questions:

[1.] Is there a command to un-hide an object that has been hidden with hideObject? I've searched the Wiki and these forums but found nothing.

[2.] What exactly do I have to do when I want to hide a player-controlled soldier on both the server and all clients? (In an experimental fun-map) I want players to be able to hide themselves by an action menu. What must the sqs-file look like that is called by an action menu

HideMenu = player addaction ["Hide", "hidefile.sqs", [] ];

In the Wiki I found this code but it seems I am not familiar with all elements to adapt them for me:

_nic = [nil, player, "per", rHideObject, true] call RE; <--- Is this code correct?

Share this post


Link to post
Share on other sites

Hi,

_object hideObject true; //Hide

_object hideObject false; //Un-Hide

_neo_

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×