Jump to content
Sign in to follow this  
speedshooter

hideObject Map ID

Recommended Posts

Place a game logic near the building you want with this.

(nearestObject [this, 1]) hideObject true;

Replace 1 with the object id, should work.

Edited by Horner

Share this post


Link to post
Share on other sites

am i able to place this in a trigger or do i have to do it some other way?

EDIT: Wait, just saw game logic -.-

---------- Post added at 16:17 ---------- Previous post was at 16:12 ----------

Getting a script error, not working :(

---------- Post added at 16:22 ---------- Previous post was at 16:17 ----------

error type object, expected number

Share this post


Link to post
Share on other sites

Edited original post with corrected code. Curse you arma for having dual syntaxes.

Share this post


Link to post
Share on other sites
Edited original post with corrected code. Curse you arma for having dual syntaxes.

Lol thanks ill try that

---------- Post added at 16:52 ---------- Previous post was at 16:50 ----------

same error :(

Share this post


Link to post
Share on other sites

(nearestObject [this,"building"]) hideObject true;

Place in a gamelogic and place that over the building

or

(getPos this nearestObject 344265) hideObject true;

number is ID number

Edited by F2k Sel

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  

×