Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: AI Script for Burrowing?
AI Script for Burrowing?
Aug 29 2008, 5:20 am
By: blacklight28  

Aug 29 2008, 5:20 am blacklight28 Post #1



Is there an AI script for burrowing a unit? Sorry if this question has been asked before.



None.

Aug 29 2008, 5:33 am Falkoner Post #2



Computer non-hero units will auto burrow if they can and no one is around, otherwise, no, there's no AI, you can create them burrowed though.



None.

Aug 29 2008, 11:41 pm Vi3t-X Post #3



And for heroes, you could use:

[ Variable ]
Center location X on Y
Create 1 Y burrowed at location X
Remove 1 Y [ Terrain Level ] at location X

Problems: You need 2 locations, sorry, 1 detecting the burrow and one detecting the level of terrain its going to be on.
Problems: Units heal, but is counterable via vHP system.



None.

Aug 29 2008, 11:48 pm stickynote Post #4



Can't you modify the unit properties? And change it to burrowed?



None.

Aug 30 2008, 12:38 am NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Vi3t-X
And for heroes, you could use:

[ Variable ]
Center location X on Y
Create 1 Y burrowed at location X
Remove 1 Y [ Terrain Level ] at location X

Problems: You need 2 locations, sorry, 1 detecting the burrow and one detecting the level of terrain its going to be on.
Problems: Units heal, but is counterable via vHP system.
Switch the order of remove and create and it will work.
However this does not take care of properties like blinded or lost hp.

Quote from stickynote
Can't you modify the unit properties? And change it to burrowed?
No. There is no such action.




Aug 30 2008, 12:44 am stickynote Post #6



Lol. I got confused with the create unit with properties action.



None.

Aug 30 2008, 12:55 am blacklight28 Post #7



Damn it... Ok well, I don't want to create another topic so I'll ask it here. How do i make a Dark Templar for player 12 visible to other players. And I can't get the AI Script for turning on shared vision to work... I'm trying to get the computer, or player 12 to turn on shared vision to a player.



None.

Aug 30 2008, 1:50 am NudeRaider Post #8

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

You can only share vision to P1-8.

So you either need to hallucinate them (and replace before the hallucination time is over) or place detectors.

I got another idea however: Try creating it for a player you have vision to, then defeat the player. This should give the unit to P12 and maybe it also preserves the vision. But I doubt that.




Aug 30 2008, 10:06 pm Falkoner Post #9



The vision isn't preserved, as shown by all sorts of games when your ally leaves and you no longer can see their base. You're going to need to use detectors somehow.



None.

Aug 30 2008, 11:59 pm blacklight28 Post #10



Ok, then if that doesn't work, how do you get the computer to ally you? I'm trying to put a defense system in a town. But if you walk past it, it will attack you.



None.

Aug 31 2008, 12:31 am Falkoner Post #11



Set Alliance Status action..



None.

Sep 1 2008, 7:23 pm blacklight28 Post #12



Wow, didn't know that was a trigger... Thx



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[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: Symmetry