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.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy