Jump to content
Sign in to follow this  
Raddik

Make object invisible?

Recommended Posts

Is it possible to make an object invisible? I need a concrete barrier to have it's desired effect on other objects without being visible. Thanks.

Raddik

Share this post


Link to post
Share on other sites

Try calling this for every object selection (replace selectionNumber accordingly)

_objectname setobjecttexture [selectionNumber,""]

Share this post


Link to post
Share on other sites

Thanks for the quick reply. I put this in the init of a concrete barrier named b1

b1 setobjecttexture [selectionNumber,""]

I can still see it, did I do something wrong? Thanks again for the help.

Raddik

Share this post


Link to post
Share on other sites

AFAIK the object have to be specially perpared to do this command, otherwise no changes happends.

Share this post


Link to post
Share on other sites

Anyone have another idea? There must be some way to do this without making and addon... Please advise.

Raddik

Share this post


Link to post
Share on other sites

This deletes it on a physical level too, I already tried it. Thoughts?

Share this post


Link to post
Share on other sites

There are some invisible fences available in A2, though I don't think that is what you are really looking for.

Nevertheless, you can createVehicle them (maybe there are more, haven't checked it):

"InvisibleFence2"

"InvisibleFence3"

They get used in the first campaign mission.

Xeno

Share this post


Link to post
Share on other sites

Xeno,

Thank you for the input, I'll set the height to be what it needs to be and they will work just dandy. Do I add them in the editor like any other object?

Raddik

Share this post


Link to post
Share on other sites
Thank you for the input, I'll set the height to be what it needs to be and they will work just dandy. Do I add them in the editor like any other object?

You should totally put a bunch of these in the sky at random places! :)

Share this post


Link to post
Share on other sites
You should totally put a bunch of these in the sky at random places! :)

LOL. Yeah, but people would be ragequitting if I did. :)

Share this post


Link to post
Share on other sites
Xeno,

Thank you for the input, I'll set the height to be what it needs to be and they will work just dandy. Do I add them in the editor like any other object?

Raddik

Xeno, I reread your post and wanted to say nm. Got it working. :)

Raddik

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  

×