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.
    [08:51 pm]
    l)ark_ssj9kevin -- Are you excited for Homeworld 3?
    [08:44 pm]
    l)ark_ssj9kevin -- Hi Brusilov
    [04:35 pm]
    O)FaRTy1billion[MM] -- Brusilov
    Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    my server that was hosting it died
    [2024-5-10. : 8:46 pm]
    NudeRaider -- Brusilov
    Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    https://armoha.github.io/eud-book/
    [2024-5-10. : 8:36 am]
    Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    [2024-5-09. : 11:31 pm]
    Vrael -- :wob:
    [2024-5-09. : 8:42 pm]
    Ultraviolet -- :wob:
    [2024-5-08. : 10:09 pm]
    Ultraviolet -- let's fucking go on a madmen rage bruh
    [2024-5-08. : 10:01 pm]
    Vrael -- Alright fucks its time for cake and violence
    [2024-5-07. : 7:47 pm]
    Ultraviolet -- Yeah, I suppose there's something to that
    Please log in to shout.


    Members Online: jjf28, RIVE, C(a)HeK