Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Some actions not firing
Some actions not firing
Apr 2 2010, 11:37 pm
By: XGenesis  

Apr 2 2010, 11:37 pm XGenesis Post #1



In my newest map, there are some actions that are not firing. I have hyper triggers, and know the trigger is working because of some actions working, but others are not.
Below is the introduction trigger.
Trigger
Players

  • Player 1
  • Conditions

  • Elapsed time is at least 2 game seconds.
  • Actions

  • Display for current player:<02><19>Welcome to Defend Your Keep! <02><18>Build a Drone, Probe, or SCV depending on which custom race you want to play! <02><16>The Game will start when all players have chosen a race!
  • Center view for current player at 'P1 Inventory'
  • Play 'sound.wav'
  • Comment:

  • Although the display message is working, center view and playing the sound does not. Center view also does not fire for several other triggers, and my map seems overall just "slow". (even though I have 3 hyper triggers). Help! :unsure:
    Also: I resized the map from 128x128 to 196x128, then I realized 196 was not a dimension, so I changed it to 192. Don't know if this is part of the problem...



    None.

    Apr 2 2010, 11:48 pm DavidJCobb Post #2



    IIRC Play Sound and Center View use Waits in some situations. If you're using Wait-based hyper triggers instead of "complex" hyper triggers, then you may be having a wait block. Try these triggers instead of the Wait-based hypers:
    Trigger
    Players
  • Player 7
  • Conditions
  • Player 1 has suffered exactly 0 deaths of Alan Turret
  • Actions
  • Wait 0 milliseconds.
  • Set deaths for Player 1: set Alan Turret to 1.
  • Wait 0 milliseconds.
  • Preserve trigger.

  • Trigger
    Players
  • Player 8
  • Conditions
  • Player 1 has suffered exactly 1 deaths of Alan Turret
  • Actions
  • Wait 0 milliseconds.
  • Set deaths for Player 1: set Alan Turret to 0.
  • Wait 0 milliseconds.
  • Preserve trigger.

  • Where you can use any death counter in place of P1 Alan Turret, and any players in place of P7 and P8 (so long as they're actually in the game, they're not P9-12, and they are different from one another).

    BTW the trigger BBCode only works when it's all on one line.



    None.

    Apr 3 2010, 6:03 am rockz Post #3

    ᴄʜᴇᴇsᴇ ɪᴛ!

    ensure the hyper triggers are last in the list (complex vs simple hypers is irrelevant). Also, don't play on single player.

    If the location and sound don't exist, they might not work, but I doubt it.

    Add in a "create unit" action before and after each action, so you know where it stops working.



    "Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

    Apr 3 2010, 6:37 am XGenesis Post #4



    Quote from rockz
    ensure the hyper triggers are last in the list (complex vs simple hypers is irrelevant). Also, don't play on single player.

    If the location and sound don't exist, they might not work, but I doubt it.

    Add in a "create unit" action before and after each action, so you know where it stops working.

    Does testing in LAN/UDP 'work'? (not count as single player)
    @rockz, thats probably why my trigs wern't working; hyper triggers were at the top of my list.



    None.

    Apr 3 2010, 7:09 am rockz Post #5

    ᴄʜᴇᴇsᴇ ɪᴛ!

    Yeah, LAN/UDP is multiplayer (you have to click the multiplayer button to get there). Single player actions sometimes differ from multiplayer actions.



    "Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [09:38 pm]
    NudeRaider -- Ultraviolet
    Ultraviolet shouted: NudeRaider sing it brother
    trust me, you don't wanna hear that. I defer that to the pros.
    [07:56 pm]
    Ultraviolet -- NudeRaider
    NudeRaider shouted: "War nie wirklich weg" 🎵
    sing it brother
    [06:24 pm]
    NudeRaider -- "War nie wirklich weg" 🎵
    [03:33 pm]
    O)FaRTy1billion[MM] -- o sen is back
    [2024-4-27. : 1:53 am]
    Ultraviolet -- :lol:
    [2024-4-26. : 6:51 pm]
    Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
    [2024-4-26. : 6:50 pm]
    NudeRaider -- Vrael
    Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
    sounds like moisture control is often a pressing concern in your city
    [2024-4-26. : 6:50 pm]
    Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
    [2024-4-26. : 6:49 pm]
    Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
    [2024-4-26. : 6:48 pm]
    Vrael -- On this Topic, I could definitely use some Introductions.
    Please log in to shout.


    Members Online: Roy, C(a)HeK