Adding visibility dynamic field
by Virtual Campus · in General Discussion · 04/06/2004 (3:59 pm) · 5 replies
I want to make a dts object visible or invisible via script any ideas? I thought adding a visibility field to the object, but I need some guidance. Any help would be appreciated.
About the author
#2
04/07/2004 (4:43 pm)
Couldn't you just expose the alpha level variable so that you could make it partially of fully transparent that way?
#3
That sad, there is some cloaking functionality in ShapeBase.
04/08/2004 (10:17 am)
That can make it easy for people to cheat. It's usually better not to make variables like that directly available from script.That sad, there is some cloaking functionality in ShapeBase.
#4
04/08/2004 (12:10 pm)
Yes I saw the setHidden function in Shapebase, but I tried using it to hide a tree dts, but it doesn't work.
#5
04/08/2004 (3:22 pm)
Realm Wars has a cloaking staff for the elf. Maybe that can get you started?
Torque Owner Stefan Lundmark
That's how I used to do it.