Staredit Network

Staredit Network -> UMS Assistance -> Freezing A Scarab
Report, edit, etc...Posted by ultimater2 on 2004-08-21 at 17:27:21
hey i was wondering how u freeze scarabs again i did it like this

Conditions:
Switch "freeze scarabs" is set

Actions:
Run AiScript at location: Clear previous combat data at Arena
Set Generic Target Command at Scarab freeze
Order scarab at Scarab freeze, Patrol to Scarab Freeze
Give Scarab at scarab freeze to Player --
Preserve Trigger


thats how i think i remember doing it but it dosnt work can some1 help correct me
Report, edit, etc...Posted by Chill on 2004-08-21 at 17:58:22
Cant you freeze them by disabling them?
Report, edit, etc...Posted by ultimater2 on 2004-08-21 at 18:02:32
i heard from some1 that disabling scarabs can cause random crashes
Report, edit, etc...Posted by Vindexus on 2004-08-21 at 18:04:49
You shouldn't use Order, you should use the AI Script "Make these units Patrol to Upper Left Corner." Or you could just move them. You'll want hyper triggers for this.
Report, edit, etc...Posted by ultimater2 on 2004-08-21 at 18:14:38
BINGO!!!! u just sparked my memory hypertriggers i didnt have hypertriggers for the computer on that force u smart thing u ty ill test it now
EDIT: It looks like the trigger isnt firing at all i know my hypertriggers are working for all players cause the comp is using hypers too for his other triggers that work fine either for some wierd reason the trigger dosnt fire or the location isnt centering heres what i have

Conditions:
Switch(scarab freeze, Set);

Actions:
RunAIScriptAt(Clear Previous Combat Data, Arena);
RunAIScriptAt(Set Generic Command Target, Arena);
RunAIScriptAt(Make These Units Patrol, scarab respawn);
GiveUnits(All, Heat Seaking Scarab, CurrentPlayer, Scarab Stopper, P9);
PreserveTrigger();
Comment("scarab freeze");


and the trigger that fires it is this

Conditions:
Bring(CurrentPlayer, Exactly, 1, Chooser, Freeze All Scarabs);

Actions:
KillUnitAt(All, Chooser, Freeze All Scarabs, CurrentPlayer);
SetSwitch(scarab freeze, Set);
PreserveTrigger();
Comment("scarab freeze switch");
DisplayText("YAY some1 has frozen the scarabs for 10 seconds!!!", 4);
Report, edit, etc...Posted by SeNzAZN on 2004-08-21 at 20:51:51
Or you can just use a scarab sprite =)
Report, edit, etc...Posted by EzDay281 on 2004-08-21 at 21:56:54
It doesn't glow, then -_-

I think the reason it'sa not working is the P9 part, not my area of strength, justr a geuss.
Report, edit, etc...Posted by Nozomu on 2004-08-22 at 00:48:21
Regular Scarabs don't glow either, if they're not moving.
Report, edit, etc...Posted by VoidArchon(MC) on 2004-08-22 at 05:17:15
If a scarab can fulfil the Teleport trigger, can't you cant a location on the scarabs and just teleport them to the location and preserve to keep em still?
Report, edit, etc...Posted by Nozomu on 2004-08-22 at 14:59:11
They won't keep their glow and they'll eventually explode. Believe me, I've tried.
Report, edit, etc...Posted by VoidArchon(MC) on 2004-08-22 at 16:38:58
Hmmm k, What about constantly ordering it to move to the same location instead of teleporting it? Cause when in moves it glows.

FACT: tongue.gif
Did you know Terran Spider Mine is a Protoss Scarab?
The terran stole the technology and modified it wink.gif
Report, edit, etc...Posted by Nozomu on 2004-08-22 at 16:42:26
You can only order Scarabs with the Generic Command Target/Patrol to Upper Left combo, and it won't work even if you do it. You would have to use hyper triggers so that the Scarab doesn't go flying off for a second before returning, but with hyper triggers the Scarab would still not move at all because it's being ordered to stay in the same place. I've tried everything, believe me.
Report, edit, etc...Posted by VoidArchon(MC) on 2004-08-22 at 16:44:18
Lol... so nothing works? Abbsulute 0 nothing? tongue.gif
Report, edit, etc...Posted by Nozomu on 2004-08-22 at 16:45:28
Unless somebody pulls some trick out of their sleeve that you or I or countless other mappers haven't thought of, then nope, sorry.
Report, edit, etc...Posted by VoidArchon(MC) on 2004-08-22 at 16:50:21
What if you have 2 1x2 Locations, put them beside eachother to make a 2x2, and make the scarab move from back and forth really fast, keeping it active, moving,
and it almost looks like its in the same spot!?

Edited: Oh nvm, i tried it and the scarab still justs flies away... i wonder why.
Report, edit, etc...Posted by TSoldier_Wol[f] on 2004-08-22 at 17:15:14
Try disable them that mine work.
Report, edit, etc...Posted by phatdiddy on 2004-08-22 at 20:13:17
Well you can do it if they don't need to be glowing when stopped, but each scarab would have to start in a seperate location. Which would most likely mean the reavers would have to be on seperate spots.

This is all just been worked in my mind, dunno if it would work perfectly but I know you can freeze a scarab by moving it to it's current location.

See if say you have 4 scarabs all start on the battlefield in a seperate location, now from the beginning you have the location they started in constantly center on a scarab at that location. So you have 4 locations each centered on a seperate scarab. SO when they're supposed to freeze you just move the scarab at each location to the location with a seperate action each.

The only problem is if a scarab dies or kills something. I was thinking you could first have like a burrowed ling for like player 12 or something at the start spot for that scarab, then recenter the location there, than unally the reaver with whatever it's attacking and move the scarab then recenter the location on the scarab.

That's it, dunno if it'd work perfectly though.
Report, edit, etc...Posted by Nozomu on 2004-08-23 at 00:13:42
The problem is that he wants the glow. Sure it's easy to stop a Scarab - the hard part is getting it to stop and retain its glow.
Next Page (1)