Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: AI help. Telling a unit to stay still
AI help. Telling a unit to stay still
Sep 4 2008, 3:05 am
By: WindowsXPTurion  

Sep 4 2008, 3:05 am WindowsXPTurion Post #1



I need to know how to make a unit never move from a position but still be able to shoot or attk. How is this done? :wtfage:



None.

Sep 4 2008, 3:14 am CecilSunkure Post #2



Center locs a + b on the unit, A is 2x2, b is 5x5, when player brings 0 units to a, move unit at b to a



None.

Sep 4 2008, 3:18 am WindowsXPTurion Post #3



srry but I just found a way. I just created a location that was over water and had the unit move there it immobilizes it thanks though



None.

Sep 4 2008, 3:51 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from WindowsXPTurion
srry but I just found a way. I just created a location that was over water and had the unit move there it immobilizes it thanks though
You can also constantly move it off the map, which will work for air units. If you encounter problems with it not being attackable/attacking, you can use an inverted location to make it stand still by detecting when it's not in that location (which should be as soon as it moves 1 pixel in any direction).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Sep 4 2008, 4:25 am CecilSunkure Post #5



Quote from WindowsXPTurion
srry but I just found a way. I just created a location that was over water and had the unit move there it immobilizes it thanks though

Oh i didnt know they could still attack with that trigger :O



None.

Sep 5 2008, 12:47 am Falkoner Post #6



They can, although they have trouble locking on to a target, and other units attacking them often miss, and also have difficulty targeting them.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
[2026-4-25. : 3:20 pm]
NudeRaider -- Vrael
Vrael shouted: moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
boy, if you're not careful I'll moderate your sorry ass too!
[2026-4-25. : 3:06 pm]
RIVE -- Yyyes. Don't you see it?
[2026-4-25. : 2:11 pm]
Vrael -- moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
Please log in to shout.


Members Online: Andrea Rosa, DarkenedFantasies, newageofpower