1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Making breakable glass respawn?

Discussion in 'Mapping Questions & Discussion' started by ChronoTriggerFan, Apr 19, 2008.

  1. ChronoTriggerFan

    ChronoTriggerFan L7: Fancy Member

    Messages:
    435
    Positive Ratings:
    73
    I've been trying to make a breakable window that will "respawn" after a certain amount of time. How might I do this?
     
  2. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    67
    have you tried messing with the outputs?
    Will look soon into it.
    <edit> Hmm forgot how to do it, but i think its possible,
    hmm if any one can help, am curious about how to do it now </edit>
     
    Last edited: Apr 19, 2008
  3. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    466
    Create an env_entity_maker which spawns the glass of the type you want, and place it in the centre where you want the glass to spawn. Set the output on the glass so that when it breaks, it triggers a logic_relay (as the glass entity will be killed), set the logic_relay's output to spawn another glass through the env_entity_maker. Set the delay time on the spawn output to the time you want the glass to respawn in.

    I hope that works.
     
    • Thanks Thanks x 1
  4. ChronoTriggerFan

    ChronoTriggerFan L7: Fancy Member

    Messages:
    435
    Positive Ratings:
    73
    I'm getting confused, do I make 2 glass windows?
     
  5. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
  6. ChronoTriggerFan

    ChronoTriggerFan L7: Fancy Member

    Messages:
    435
    Positive Ratings:
    73