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.
[04:23 am]
NimoStar -- yes, all animations for protoss and zerg should be there, unless I missed any
[12:43 am]
Moose -- Dem0n
Dem0n shouted: Moose, you ever go to sleep knowing that you're completely fucked for the next day? I do it every night.
tbh
[04:20 pm]
Oh_Man -- did you give all animations for researching/recruiting buildings for protoss and zerg?
[01:52 pm]
NimoStar -- prerelease of improves 1.16.1
[01:51 pm]
NimoStar -- www.moddb.com/mods/ultimate-starcraft-age-of-darkness/downloads/ultimate-starcraft-age-of-darkness-secret-beta-release
[2026-8-13. : 3:03 am]
Symmetry -- Roy the way the screen moves hurts my eyes but otherwise it plays remarkably well
[2026-8-12. : 5:23 pm]
Roy -- Moose
Moose shouted: Just made? I thought we had that years ago
"We have Super Mario at home."
[2026-8-11. : 4:44 am]
Zycorax -- :wob:
[2026-8-11. : 2:30 am]
Symmetry -- :wob:
[2026-8-10. : 1:36 am]
Moose -- Thinking on it more, I vaguely remember it being annoying because it kept repeating some short loop of the Super Mario World theme LMAO
Please log in to shout.


Members Online: NudeRaider, JGNwSctlnd