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.
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.
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.
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.
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.
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 --
I would do the disabling in StarForge, as SCM Draft is crappy when it comes to sprites.
Oh, and DarkMarine, try using a Corsair
, all you have to do is Enable, wait, order, then you can do anything you want with it.
None.