AI Script Issues
Posted: Fri Oct 21, 2011 12:48 am
HELLO!
I've been trying to make certain AI scripts run properly for a while now and so far I've gotten one to work, one to half way work, and that's where I got stuck. I hear a lot about the magical "Set unit order: Junk yard dog" script being useful for a ton of things, but when I go to use it, nothing happens at all.
The one thing I've always wanted to do was make a ton of scourges all spawn and amass themselves in a writing pile in the middle of a location, then disperse into a beautiful circle of wings and teeth before dying into a ring of siege tanks or lurkers. I got them to spawn correctly, bump into each other correctly, and when the deaths limit is reached, they all become lurkers. The only problem is that the lurkers are all in one spot, right in the middle of the location. I don't know what I'm doing wrong, but the junkyard script never successfully activates the way people say it's supposed to. I know it's possible because I've seen countless maps all use the same technique for randomly distributing units into something that's at least close to a circle and I've played maps that actually go ahead and make the circle. Can somebody who knows a little something about circles and junkyard dogs shed even a little light on this?
If somebody can teach me to pull this off then I'll be convinced that the Messiah has come...
Edit:
<------ Added that question mark thingy to the title on the last page. Alt+[left arrow] to see it with advanced clarity!
I've been trying to make certain AI scripts run properly for a while now and so far I've gotten one to work, one to half way work, and that's where I got stuck. I hear a lot about the magical "Set unit order: Junk yard dog" script being useful for a ton of things, but when I go to use it, nothing happens at all.
The one thing I've always wanted to do was make a ton of scourges all spawn and amass themselves in a writing pile in the middle of a location, then disperse into a beautiful circle of wings and teeth before dying into a ring of siege tanks or lurkers. I got them to spawn correctly, bump into each other correctly, and when the deaths limit is reached, they all become lurkers. The only problem is that the lurkers are all in one spot, right in the middle of the location. I don't know what I'm doing wrong, but the junkyard script never successfully activates the way people say it's supposed to. I know it's possible because I've seen countless maps all use the same technique for randomly distributing units into something that's at least close to a circle and I've played maps that actually go ahead and make the circle. Can somebody who knows a little something about circles and junkyard dogs shed even a little light on this?
If somebody can teach me to pull this off then I'll be convinced that the Messiah has come...
Edit:
<------ Added that question mark thingy to the title on the last page. Alt+[left arrow] to see it with advanced clarity!