Minigame Trait Help

Discussion in 'Halo and Forge Discussion' started by WagglyBeef, Jan 6, 2017.

  1. WagglyBeef

    WagglyBeef Legendary

    Messages:
    91
    Likes Received:
    53
    So my problem is the traits dont apply for the first round,

    Script is set up
    Script 1
    When...
    Condition: Match: Start
    Do...
    Action 1 Trait: Apply
    Players (team 1)
    Trait: Barvo
    Action 2 Trait: Apply
    Players (team 3)
    Trait: Charlie

    Script 2
    When...
    Condition: Round: Start
    Do...
    Action 1 Trait: Apply
    Players (team 1)
    Trait: Barvo
    Action 2 Trait: Apply
    Players (team 3)
    Trait: Charlie

    I even tried throwing a third script on that was set on a timer to try and set the traits but none of it works on the first round other scripts i have work just fine on the first round, but the traits wont apply until the second round. Anyone know what could be causing this?
     
  2. Toastman

    Toastman Ancient
    Forge Critic Senior Member

    Messages:
    278
    Likes Received:
    199
    Well I am developing a custom gametype that is built on round start scripts and it worked fine on my first map that was designed for it. However, my friend Anemeros is building a second map and, even when dropping the same logic into the map as a prefab, his map breaks.

    After hours of testing and the process of elimination...we determined that his map is actu ally a corrupt file and it only applies half of the round start scripts on load and its random.

    I suggest spawning your scripts into a blank canvas and see if they work. You may have a bugged map.
     
    #2 Toastman, Jan 8, 2017
    Last edited: Jan 8, 2017
  3. AnonFriction

    AnonFriction Legendary
    Forge Critic

    Messages:
    151
    Likes Received:
    160
    Yeah, you'll wanna change it to round start, the players aren't spawned at match start so you can't apply traits to them
     
  4. WagglyBeef

    WagglyBeef Legendary

    Messages:
    91
    Likes Received:
    53
    I have had it set that way and still didnt work freakin lame
     
  5. AnonFriction

    AnonFriction Legendary
    Forge Critic

    Messages:
    151
    Likes Received:
    160
    Might have to put a slight delay to give them time to spawn? ...if that doesn't work then I'm not sure
     
  6. ExTerrestr1al

    ExTerrestr1al Forerunner
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515
    I'm sure you know this, but it may be worth double checking that there is nothing else occurring at start that could interfere, interrupt, or cancel out the spawns you are worried about

    If you are using an objects spawn to despawn anything, for instance, it will of course despawn those things immediately upon start.
     

Share This Page