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.
[2026-8-06. : 2:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
[2026-8-06. : 2:41 am]
Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
[2026-8-06. : 2:40 am]
Symmetry -- Human memory is a fragile, fallible thing
[2026-8-06. : 2:39 am]
Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
[2026-8-06. : 2:38 am]
Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
[2026-8-06. : 2:38 am]
Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
[2026-8-06. : 2:37 am]
Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
[2026-8-06. : 2:22 am]
Symmetry -- was it idra
[2026-8-06. : 1:52 am]
NudeRaider -- Oh_Man
Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
classic
[2026-8-05. : 2:56 pm]
Oh_Man -- long story short - patience is a virtue!
Please log in to shout.


Members Online: lifebot