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.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: IlyaSnopchenko, Ultraviolet