Staredit Network

Staredit Network -> UMS Assistance -> Controlling Scarabs
Report, edit, etc...Posted by VoidArchon(MC) on 2004-10-24 at 16:43:14
In my map theres a mini-game where enemy scarabs will need to continuesly come and attack you, do you know how i can do so?

Like when i swarm an enemy, he loses his invincibility, then the scarabs flying around will all fly at the enemy and attack him, repeats until 5 seconds is over, do you know what triggers i need to control the scarabs to the enemy?
Report, edit, etc...Posted by NeoNightmareX on 2004-10-24 at 16:57:51
http://www.staredit.net/index.php?showtopi...85&st=0#topic10
i had the Tricks database in favorites when Bolt (i think) turned it into a post just go to index and click on Controlling scarabs on the right hand side, but if ur too lazy ill just post it

Players: Computers/People with Reavers
Conditions: Anything You Want
Actions 1:Run AI Script "Set Generic Command Point" At "Location you want them to move to"
Actions 2: Run AI Script "Make These Units Patrol To Upper Left Corner" at "The Location The Scarabs Will Be At"

-generic command point = place they will go-
-make these units patrol to upper left corner = generic command point you set(upper left is default)-

This also works for Interceptors. Only works on computer players owning scarabs/interceptors.
Should use hyper-triggers with any of these.
Report, edit, etc...Posted by VoidArchon(MC) on 2004-10-24 at 17:37:51
QUOTE(NeoNightmareX @ Oct 24 2004, 03:57 PM)
http://www.staredit.net/index.php?showtopi...85&st=0#topic10
i had the Tricks database in favorites when Bolt (i think) turned it into a post just go to index and click on Controlling scarabs on the right hand side, but if ur too lazy ill just post it

Players: Computers/People with Reavers
Conditions: Anything You Want
Actions 1:Run AI Script "Set Generic Command Point" At "Location you want them to move to"
Actions 2: Run AI Script "Make These Units Patrol To Upper Left Corner" at "The Location The Scarabs Will Be At"

-generic command point = place they will go-
-make these units patrol to upper left corner = generic command point you set(upper left is default)-

This also works for Interceptors. Only works on computer players owning scarabs/interceptors.
Should use hyper-triggers with any of these.
[right][snapback]89331[/snapback][/right]

I know all that it's just when the scarabs fly up to me, they just sit there and follow me, they wont actually attack me, i have the computer set me as enemy, wtf..
Report, edit, etc...Posted by NeoNightmareX on 2004-10-24 at 17:40:56
blink.gif blink.gif blink.gif blink.gif uhh im not sure if thats supposed to happen, u should have described it better than "i forgot how to do it" but ill try figuring it out, u wanna post the map and tell me where the trigger will be found?
Report, edit, etc...Posted by VoidArchon(MC) on 2004-10-24 at 17:50:16
Ok, the triggers that won't work properly are in Player 6, the bottom 4 triggers.
[attachmentid=2478]
Report, edit, etc...Posted by Paella on 2004-10-24 at 17:50:18
Perhaps you should just move the scarabs and then give them an attack order at you? I'm not sure, but if this doesn't work you could do soem virtual hitpoints to makee up for the lack of damage.
Report, edit, etc...Posted by NeoNightmareX on 2004-10-24 at 17:56:14
QUOTE(VoidArchon(MC) @ Oct 24 2004, 04:50 PM)
Ok, the triggers that won't work properly are in Player 6, the bottom 4 triggers.
[attachmentid=2478]
[right][snapback]89372[/snapback][/right]

im not sure about this seeing as ive never done controlling scarabs but do u think u have to clear the switch or dont preserve trigger? because everything looks right to me from the Tricks that i found posted, try one and then the other after, because im all out of ideas for this one guyz closedeyes.gif
Report, edit, etc...Posted by NeoNightmareX on 2004-10-24 at 18:41:48
if those dont work change at least 2 units in ur death on to exactly
Report, edit, etc...Posted by RexyRex on 2004-10-24 at 18:56:35
Please click here to view the solution to your problem. Check the tutorials database more often tongue.gif.
Report, edit, etc...Posted by VoidArchon(MC) on 2004-10-25 at 01:37:46
RexyRex... I did that and that works, what doesnt work is the scarabs wont actually attack me pinch.gif
Report, edit, etc...Posted by Lisk on 2004-10-25 at 06:26:15
confused.gif um u need to make scarabs go to the swarm and 'attack'?
not sure if they attack/explode but you can create a lurker or something :/
Report, edit, etc...Posted by (U)Bolt_Head on 2004-10-25 at 10:07:01
QUOTE(VoidArchon(MC) @ Oct 25 2004, 12:37 AM)
RexyRex... I did that and that works, what doesnt work is the scarabs wont actually attack me  pinch.gif
[right][snapback]89622[/snapback][/right]


They won't attack you because you changed there AI and they have lost there target, therenot going to aquire new ones. You can make them blow up when they hit a specific unit but not attack.
Report, edit, etc...Posted by .Coko[CK] on 2004-10-25 at 11:17:05
Thus why its an annoying part, basically it tells the Ai script for the Scarab to ignore previous functions and follow those set of Trigger Based Ai Commands, which will run it for the time being, and since you can't tell it to suicide something it won't.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-10-25 at 15:47:41
How do you make tehm blow up. Does killing them make them blow up? If you could, you could have the set generic command point to a location centering on the unit, and have them blow up when they get in the location.
Report, edit, etc...Posted by RexyRex on 2004-10-25 at 18:35:24
CONDITIONS:
Player 8 brings at least one Protoss Scarab to "Player 1 location"

ACTIONS:
Kill all Protoss Scarab for player 8
Modify unit HP, subtract 10%

Artifical explosions, create one for every player tongue.gif.
Report, edit, etc...Posted by VoidArchon(MC) on 2004-10-25 at 18:39:10
QUOTE(RexyRex @ Oct 25 2004, 05:35 PM)
CONDITIONS:
Player 8 brings at least one Protoss Scarab to "Player 1 location"

ACTIONS:
Kill all Protoss Scarab for player 8
Modify unit HP, subtract 10%

Artifical explosions, create one for every player tongue.gif.

[right][snapback]89831[/snapback][/right]

There is no "Subtract unit HP"
And i did do that "Player 6 brings at least 1 scarab to 'dark templar', kill all scarab for player 6 at 'dark templar'... but 90% of the time the dark templar won't get damaged...
Report, edit, etc...Posted by RexyRex on 2004-10-25 at 18:41:59
Thats because the scarab isn't attacking, it's dying. Just like how infested terrans die, they die with an explosion but don't do damage while their attack kills them and they do deal damage. The difference is, the scarab attack and death animations are the same.
And I ment Set unit Hp, not subtract.
Report, edit, etc...Posted by Paella on 2004-10-25 at 20:24:13
Can you give Scarabs to different players? And when you do will the newly owned scarab aquire a new target? That could be useful....
Next Page (1)