TTLG|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 5 of 5

Thread: Make object appear and reappear with switch

  1. #1
    New Member
    Registered: Apr 2015

    Make object appear and reappear with switch

    Hello everyone,

    Long time lurker, first time (I think) poster here with a question I hope you guys will help me.
    I've been, for the first time since 1999, seriously getting my hands on Dromed and trying to come up with something decent to play. Most answers so far I can get through tutorials and your posts here but I can't find how to do what's on the title.

    Basically, when I'm in this room and the electrical lights (controlled by switch) are on, I shouldn't be seeing the light shaft I placed next to the window and there's a blue animlight next to a window but dimmed. When I turn the switch off, lights off, blue animlights turn to smoothly brighten and the light shaft should show up.

    So, I basically did all the lights correctly with the Inverter and etc. but I can't figure out how to hide/show an object.

    Thank you for your help!

  2. #2
    Member
    Registered: Aug 2007
    Location: LosAngeles: Between Amusements
    Why not look at the NVScripts, NVPhantomTrap in particular. If there is a need for it there is also NVGlowTrap. And NVGenericScalarTrap can fade in and out any scalar property.
    Last edited by LarryG; 16th Mar 2018 at 21:23. Reason: typo

  3. #3
    Desperately Dodgy Moderator
    Registered: Nov 2001
    Location: Fields of bluegrass
    I would just use NVPhantomTrap on the light beam. Since you want them visible when the lights are off, you can just put NVPhantomTrap on the beam and an inverter between the light switch and the beam. YOu can also skip the inverter if you add an Editor > Design note of NVPhantomTrapOn="TurnOff"; NVPhantomTrapOff="TurnOn" to the beam.

  4. #4
    Member
    Registered: Aug 2007
    Location: LosAngeles: Between Amusements
    You may also need to start with Renderer→Transparency (alpha) set explicitly on the beam.

  5. #5
    New Member
    Registered: Apr 2015
    Thanks for the help, guys

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •