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.
    [2026-9-25. : 12:00 am]
    Oh_Man -- he hasnt won a single game so far this is hilarious
    [2026-9-24. : 11:41 pm]
    Oh_Man -- new arty username Rage Against The Machine
    [2026-9-24. : 10:14 pm]
    Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
    [2026-9-24. : 8:12 pm]
    Ultraviolet -- do you even lift bro?
    [2026-9-23. : 5:21 pm]
    NudeRaider -- Oh_Man
    Oh_Man shouted: NudeRaider yeh thts straight up cheating
    the mutas yes, the wraiths probably not. Have you even watched the video? ;)
    [2026-9-23. : 12:56 pm]
    Oh_Man -- NudeRaider
    NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    yeh thts straight up cheating
    [2026-9-23. : 12:24 pm]
    Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
    [2026-9-23. : 10:09 am]
    NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
    Please log in to shout.


    Members Online: DarkenedFantasies, O)FaRTy1billion[MM]