Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Units not taking orders
Units not taking orders
This topic is locked. You can no longer write replies here.
Aug 22 2009, 3:50 am
By: New-Guy  

Aug 22 2009, 3:50 am New-Guy Post #1



Okay, so I've got a trigger that looks something like this:

Trigger
Players

  • player 2
  • Conditions

  • players 2 brings 1 firebat to location 6
  • Actions

  • move 1 firebat for player to at location 6 to location 2
  • disable doodad state
  • enable doodad state
  • enable doodad state
  • disable doodad state
  • enable doodad state
  • enable doodad state
  • enable invincability
  • order all firebat for player 2 at location 2 to "move here"

  • Now, my problem is, at the end of the trigger, the firebat sits there. He doesn't move.

    I've even got another trigger that waits a second, then orders the same firebat to move to the same "move here" location, and he still doesn't move.
    I can't find out why this is being caused, or how to fix it. If I could get some input, I would greatly appreciate.
    If you want, I could post the map up for you guys as well.



    None.

    Aug 22 2009, 3:52 am Falkoner Post #2



    I'm assuming you're trying to cloak it, the actual trigger is Disable Wait 0 Enable Wait 0 Enable, Order, you don't need all those weird ones.



    None.

    Aug 22 2009, 4:04 am darksnow Post #3



    wait, so you need to wait till the next trigger cycle in order to cloak it?
    o.o never knew that



    None.

    Aug 22 2009, 4:55 am New-Guy Post #4



    Quote from Falkoner
    I'm assuming you're trying to cloak it, the actual trigger is Disable Wait 0 Enable Wait 0 Enable, Order, you don't need all those weird ones.
    Okay, that might be why.
    I'm just going off of a map by Loveless I found in your test-map compilation. Sprite-battle system.
    I'll try using that order of actions next.



    None.

    Aug 22 2009, 7:30 am Heinermann Post #5

    SDE, BWAPI owner, hacker.

    Why 2 enables? I'm sure it only needs one enable. The other, in theory, would have no effect.




    Aug 22 2009, 7:49 am Falkoner Post #6



    Hmm, I remember Farty saying something about it, not being necessary, that is, but that's just always the way I've seen it done, and I know that way works, I guess you could test shorter methods if you want.



    None.

    Aug 22 2009, 8:39 am Pyro682 Post #7



    I've never used enables, and all my disables worked for me.



    None.

    Aug 22 2009, 10:24 am Clokr_ Post #8



    Quote from Pyro682
    I've never used enables, and all my disables worked for me.

    If you don't enable it you cannot move it afterwards...



    ?????

    Aug 22 2009, 1:13 pm New-Guy Post #9



    Well, I used the trigger that Falk suggested, and now it's working perfectly. Thanks for your help guys.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [07:47 pm]
    Ultraviolet -- Yeah, I suppose there's something to that
    [2024-5-06. : 5:02 am]
    Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
    [2024-5-06. : 5:02 am]
    Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
    [2024-5-06. : 5:01 am]
    Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
    [2024-5-06. : 3:04 am]
    Ultraviolet -- Vrael
    Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
    With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
    [2024-5-06. : 12:51 am]
    Oh_Man -- definitely EUD
    [2024-5-05. : 9:35 pm]
    Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
    [2024-5-05. : 9:35 pm]
    Vrael -- that is insane
    [2024-5-05. : 9:35 pm]
    Vrael -- damn is that all EUD effects?
    [2024-5-04. : 10:53 pm]
    Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
    Please log in to shout.


    Members Online: Roy