Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Probably a simple question
Probably a simple question
Mar 27 2008, 4:17 am
By: Ryan  

Mar 27 2008, 4:17 am Ryan Post #1



Hi.

Trigger
Players

  • Player 8
  • Conditions

  • Current player commands at least 0 Rhynadon
  • Current player commands at most 5 Rhynadon
  • Current player has suffered exactly 0 deaths of Ion Cannon
  • Actions

  • Create 1 Rhynadon at Spawn A
  • Set deaths for Current player: Add 60 for Ion Cannon
  • Preserve Trigger
  • Comment


  • Trigger
    Players

  • Player 8
  • Conditions

  • Current player commands at least 6 Rhynadon
  • Current player commands at most 11 Rhynadon
  • Current player has suffered exactly 0 deaths of Ion Cannon
  • Actions

  • Create 1 Rhynadon at Spawn B
  • Preserve Trigger
  • Comment


  • I want a Rhynadon to spawn at both locations every 5 seconds, using death counters instead of waits. I have hyper triggers in my map, and yes, I do have a trigger subtracting the deaths. For some reason that I don't know why, only 1 Rhynadon will spawn at point A.


    Post has been edited 1 time(s), last time on Mar 27 2008, 5:00 am by Ryan.



    None.

    Mar 27 2008, 4:46 am MNeox Post #2



    yeah your condition is to have exactly 0 ion deaths, in action you're adding 60 ion cannons, do you have a trigger where it subtracts the ion cannons?



    None.

    Mar 27 2008, 5:00 am Ryan Post #3



    Yes, I do. Guess I forgot to add that part to the description :/



    None.

    Mar 27 2008, 5:11 am DT_Battlekruser Post #4



    In general, gratuitous use of "Exactly" is considered bad form. Replace it with "At Most" and see if that helps. It's possible however unlikely this is the problem. Also be sure to check for wait blocks or anything else that could hold the execution of that trigger.



    None.

    Mar 27 2008, 7:56 am NudeRaider Post #5

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    You know that the condition "at least 0" is superflous?

    Are you sure that you are always subtracting from P8's ion cannon?

    Now some stupid checks i almost don't dare to ask:
    Have you checked if all preserves are present (especially in the counter)
    Do you defeat the player in some other trigger?
    Have you checked that you always use the same death counter?
    Are your locations moved somewhere you don't expect it?




    Mar 27 2008, 9:07 am Ryan Post #6



    Kinda
    Yes
    Yes
    No
    Yes
    No




    None.

    Mar 27 2008, 12:34 pm Falkoner Post #7



    Well... It seems pretty obvious to me...

    The conditions in the second trigger are not fulfilled, and the conditions in the first trigger are no longer fulfilled after it runs once, these conditions are the problem:

    ¤ Current player commands at least 0 Rhynadon
    ¤ Current player commands at most 5 Rhynadon
    ¤ Current player has suffered exactly 0 deaths of Ion Cannon

    It seems to me that your reset trigger is buggy in some way, so, for debugging purposes:
    1. Can I see the trigger being used.
    2. Can you tell me whether the trigger is in in front of or after these triggers(It might matter)

    We might be able to help you then, you know, are you going for 1 Rhynadon in both locations every 5 seconds? Because right now it will spawn 5 times in location 1, then 5 times in location 2, and it won't wait either, it will just spawn every trigger loop.



    None.

    Mar 27 2008, 6:41 pm NudeRaider Post #8

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    It will wait because of the action "set deaths for ion cannon to 60"
    If he hasn't overseen something and posted wrong triggers then I'm pretty sure something fishy is going on with the ion cannon's deaths. Like the counter trigger fails in any way.

    Ryan you should either post more information how you have checked my questions or post the triggers or the map.
    I'm pretty much out of options what else could go wrong.




    Mar 27 2008, 10:21 pm Falkoner Post #9



    It's a problem with his resetting, I mean, he sets it to sixty, and so it's supposed to constantly subtract 1, if that worked properly, the whole thing works, so it all relies on that.



    None.

    Mar 27 2008, 10:27 pm DT_Battlekruser Post #10



    Waiiit, I think I see what he might be having issues with

    Quote
    I want a Rhynadon to spawn at both locations every 5 seconds

    The way you have your triggers right now, this is what should happen:
    -every 5 seconds, a Rhynadon is created at "spawn A" until there are 5.
    -after that, one Rhynadon is created at "spawn B" and then the death counter continues going down into negatives.

    Is this what your are expecting/experiencing?




    None.

    Mar 28 2008, 12:38 am NudeRaider Post #11

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    rofl yeah dtbk that must be it! :D
    simply switch trigger order (the trigger that sets deaths to 60 must execute last)




    Mar 29 2008, 12:29 pm The_Underscore Post #12



    I've done that getting DC triggers the wrong way round before... its really annoying, but i'm sure i'll never do it again.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [10:41 am]
    ManCubuS -- Seems like something's broken regarding the site then. Sadge...
    [07:36 am]
    Oh_Man -- have i ever told u guys my SC2 pro-gamer story
    [11:30 pm]
    Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
    [03:34 pm]
    ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
    [03:28 pm]
    ManCubuS -- Even tried with imgur, doesn't attach.
    [03:14 pm]
    ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
    [03:05 pm]
    NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
    [2026-7-26. : 11:15 am]
    ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
    [2026-7-23. : 6:40 am]
    Oh_Man -- true
    [2026-7-23. : 3:16 am]
    RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
    Please log in to shout.


    Members Online: Oh_Man