stuck units
Jan 27 2008, 9:06 pm
By: eXirrah  

Jan 27 2008, 9:06 pm eXirrah Post #1



hi... i need some help with my TD map. How can i create a unit that won't be able to move. I want to know how the creator of Random Beacon Defence did.



None.

Jan 27 2008, 9:45 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

1. create a 1x1 location called 'freeze location' and put it in the right lower edge of the map.
(in general the location has to be put over unwalkable terrain like water or space)

2. a trigger system like that
Trigger
Players

  • Player X
  • Conditions

  • always
  • Actions

  • preserve trigger
  • Move 'all' 'men' owned by 'Current Player' from 'Anywhere//Playing Area' to 'freeze location'

  • modify men to allow some units to move like an scv. just make this trigger action for every unit which should be freezed.

    3. use hypertriggers (explained here)

    effects:
    -units are not able to walk
    -units can attack
    -units can cast spells
    -units are nearly unhittable/invinceble

    if you want to freeze air units, you need to put the location out of the map. (Other methods can cause lags)
    (resize map to 256x256; move location in the right lower edge; resize map again)




    Jan 27 2008, 10:03 pm eXirrah Post #3



    thanls a lot i'll try it right away



    None.

    Jan 27 2008, 11:30 pm Falkoner Post #4



    Quote
    (Other methods can cause lags)
    Where are you getting that? Moving the air unit to a floating CC doesn't lag..



    None.

    Jan 27 2008, 11:55 pm Ahli Post #5

    I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

    moving ground units to walkable ground which is already filled up with ground units cause extreme lags (I nearly freezed the game with that ;P). why it should be different with air units?

    Only a few units will not cause lags, but if you freeze many air units, it may lag.




    Jan 27 2008, 11:57 pm Falkoner Post #6



    Hmm, I guess that's true, but that's only if you're trying to move LOTS there, most people are only trying to stop a couple units.



    None.

    Jan 28 2008, 12:00 am Ahli Post #7

    I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

    so I wrote 'can' :D




    Jan 28 2008, 12:04 am TartarusMkII Post #8



    SO let me get this straight. when you try to move the unit to a place it shouldnt be able to go its stuck in a impossible loop and just..cant do anything?



    None.

    Jan 28 2008, 12:06 am Ahli Post #9

    I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

    Quote
    effects:
    -units are not able to walk
    -units can attack
    -units can cast spells
    -units are nearly unhittable/invinceble
    try out my map and you will notice most of the effects...




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [03:16 am]
    RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
    [01:40 am]
    Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
    [01:40 am]
    Oh_Man -- and no consistent easy to use way to then play the audio either
    [01:39 am]
    Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
    [01:39 am]
    Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
    [2026-7-18. : 2:27 am]
    Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
    [2026-7-17. : 2:58 pm]
    Ultraviolet -- Symmetry
    Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
    fr fr
    [2026-7-17. : 2:39 am]
    Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
    [2026-7-16. : 6:28 am]
    NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
    [2026-7-16. : 6:26 am]
    NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
    Please log in to shout.


    Members Online: Zycorax