Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help on Unit Stack Sprite
Help on Unit Stack Sprite
Jan 18 2008, 2:03 am
By: Conspiracy  

Jan 18 2008, 2:03 am Conspiracy Post #1



Ok, me and a friend of mine are having a problem in the game we are making. We are trying to make it so some zerglings are stack ontop of other zerglings. But to do that, we have to do unit stack... Thats where we are having the problem, it crashes... things to know:

Crashes about 5-7 seconds in game.
No vision to it what so ever.
They ARE disabled sprites.
The triggers are like so:

Current Player brings atleast 1 zerg zergling to location x(where units are).

Center Location y(.25x.25 location) on zergling at location x for current player.
enable doodad state for zerg zergling owned by current player at location y.
wait 1 millisecond
order all zerg zerglings at location y move from location y to location z(store location)
preserve trigger
comment

Help?!



None.

Jan 18 2008, 2:20 am Fwop_ Post #2



Not all sprites work with this method (zergling may be one of those, I'm not sure). I assume you're using unit sprites?



None.

Jan 18 2008, 2:23 am Conspiracy Post #3



Correct we are using unit sprites
Also, it is a unit that can be stacked, but not cloaked. I did it in a test map, i had like 100 of them stacked...



None.

Jan 18 2008, 2:29 am Morphling Post #4



I have stacked and cloaked zerglings. I moved them then disabled,wait,enabled,enabled,wait,disabled,wait,enabled,enabled,order. That stacks and cloaks them.



None.

Jan 18 2008, 2:30 am Falkoner Post #5



Well, normally a zergling's disabled sprite will,
"Zergling, Devouring One - Create a rock sprite, crash immediately if looked at*"
Now, when you enable them, the player cannot be able to see it at all, not even on the mini-map, or it will crash.
And yes, I just tested, they stack just fine with no crash when done correctly.



None.

Jan 19 2008, 5:11 am Riney Post #6

Thigh high affectionado

Now as I am lazy to post all the triggers, I can tell you this.

Use the Unitspirite of the zergling, double click it, select the unit at the bottom of the dialog box and click the check "Enabled/Disabled ?" (Or something like that.)

Then do the Teleport unit, order unit, teleport unit again, and give to player trigger and it should work perfectly. Ive yet to see a unit that fails ;o



Riney#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

Jan 20 2008, 12:25 am Falkoner Post #7



I would do the disabling in StarForge, as SCM Draft is crappy when it comes to sprites.

Oh, and DarkMarine, try using a Corsair :P, all you have to do is Enable, wait, order, then you can do anything you want with it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
Please log in to shout.


Members Online: 1milae19100eh9, 7sophiec183wh5, 9emmac7723th9, 9evane4291hh4