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.
[05: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? ;)
[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
[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
[10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[02:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
[02:29 am]
Symmetry -- But can AI beat my custom maps?
[2026-9-22. : 12:32 pm]
Oh_Man -- yea APM vs eAPM
[2026-9-22. : 8:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[2026-9-22. : 8:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
Please log in to shout.


Members Online: MobMob