Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Hero kills enemy unit...
Hero kills enemy unit...
Aug 16 2008, 3:24 pm
By: Ateo  

Aug 16 2008, 3:24 pm Ateo Post #1



Basically it's a spell where a broodling spawns from the next enemy killed. I can always spawn the Broodling next to the hero, but to make it more aesthetically pleasing I want the Broodling to appear as though it emerged from the enemy corpse alien-style. How do I ensure this?



None.

Aug 16 2008, 3:36 pm NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

A dead unit is still detected for a short while but not given. Thus the following should work:
Whenever the hero's kills score rises give all enemies near the hero to another player, center a location on [men] of the original player and give the other enemies back. Then you can reset the hero's kills score and spawn the broodlings.
You could also detect for deaths of foes if thats better in your environment.
Note, that I haven't tested that method, but it's worth a shot.

Post has been edited 1 time(s), last time on Aug 16 2008, 4:43 pm by NudeRaider. Reason: type that changed sense completly




Aug 16 2008, 3:48 pm Falkoner Post #3



This map shows how you can detect where a unit dies, of course, there is a problem with how SC doesn't check triggers fast enough, even with hypertriggers, and so this method doesn't work all the time, since sometimes the unit dies right after the triggers have been checked, and manages to skate by the next detection.



None.

Aug 16 2008, 4:11 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Falk, doesn't the map do it like I said?




Aug 16 2008, 4:27 pm Falkoner Post #5



Actually, it runs through all the units, moves them to another area, gives them to the other player there, then moves them back, and then centers the location on the one owned by the original player, and they use Deaths, not score, I think you can still give dying units, not move them though, but maybe I'm wrong.



None.

Aug 16 2008, 4:41 pm NudeRaider Post #6

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Ah thx. (sry for being lazy and not checking for myself:P)




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
Please log in to shout.


Members Online: 7miac6591yr7, NudeRaider, Roy