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.
[01:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[01:05 am]
Vrael -- that's better
[12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[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
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
Please log in to shout.


Members Online: No-Name-Needed-II, Roy, Excalibur