Scripting Issue

Discussion in 'Halo and Forge Discussion' started by TG Unggoy, Jun 9, 2016.

  1. TG Unggoy

    TG Unggoy Legendary

    Messages:
    3
    Likes Received:
    0
    I recently started working on an Infection map called Vault, and I was busy with scripting the doors when I had to go offline. I had three of the four doors that I wanted to make interactive working, but when I came back online one of them was glitched. Basically it keeps on opening. I use whales as timers for the switches, but one of them keeps on spawning and instantly despawning. You can check the normal situation and the glitched one in the video I linked below.
    I've tried a lot of things already, even deleting everything but the door and the whale, but nothing seems to work. It'd be great if someone has a solution for this.

    Video:
    http://xboxdvr.com/gamer/TG Unggoy/video/18366663/embed
     
  2. Wally12

    Wally12 Ancient
    Senior Member

    Messages:
    271
    Likes Received:
    146
    Long story short, scripting in general is pretty broken right now and I'd suggest avoiding it if you can.
     
  3. Sn1p3r C

    Sn1p3r C Halo 3 Era
    Creative Force

    Messages:
    379
    Likes Received:
    578
    Are you using the whale's respawn timer (action triggers on spawn) or the whale's despawn timer? (action triggers on despawn)

    If possible, try switching it to use the other one.

    Also, try using a different block with the same script setup (not a whale, but a block with phased phsyics) or an explosive. Then, spawn a kill ball that will trigger the explosion, and script on the explosive's despawn. It might help if the instant despawn is happening, since the despawn of the explosive will not be directly linked to a script.

    Also, make sure you are testing these things in Custom Games as you're working - Match start, round start, and certain spawn scripts don't execute in Forge mode for various reasons. Also, the "Respawn all Objects" button is your friend.

    Just the suggestions that come to mind.
     
  4. Aranore

    Aranore Ancient
    Senior Member

    Messages:
    398
    Likes Received:
    7
    Other forgers have had this happen.

    Myself I accidentally made an object spawn and instant despawn to make the pressure switches. Couldn't fix it or stop ot after it started :/
     

Share This Page