Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: EUD Health Detection
EUD Health Detection
This topic is locked. You can no longer write replies here.
Apr 4 2010, 10:30 am
By: bobo  

Apr 4 2010, 10:30 am bobo Post #1



i got health detection down fine from the tut's around but i run into a problem, in my map which is multiplayer i have so wen ur hero has 1-1250 life that a message comes up that hes dying. Now this all works perfectly normal except if one player isn't in the game it doesn't work and it constantly spams the msg unless the unit dies, i re-searched the address of the unit and it changed, and i tried it again without 3 players in the game and its different again, does this mean that i have to make a trigger per hero unit (preplaced) for 8 different(number of players in the game) address's?

my trigger looks like this
Conditions:
Bring("Current Player", "Fenix (Dragoon)", "Arena", At least, 1);
Memory(130663, At least, 256);
Memory(130663, At most, 320000);

Actions:
Display Text Message(Always Display, "\x013\x008YOUR HEROES HEALTH IS CRITICAL!!!");
Preserve Trigger();



None.

Apr 4 2010, 11:11 am rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

preplace the units for players 9-12, put them on the map before any other units (you can move the position in SCMDraft) especially units you've preplaced for the players.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Apr 4 2010, 10:33 pm bobo Post #3



so just place them for p9-12 then give them to the player i want and have them be the first units on the map? i also have a large scale amount of units for each player but i only want to detect 'hero' units so do i have to give the army to p9-12 also? Also how can make so w/e units i want to be placed first on the map without actually placing them first? Where is this function i dont seem to be able to find it in the unit properties? (i know this must seem like a really dumb question lolz)

Post has been edited 2 time(s), last time on Apr 5 2010, 1:21 am by bobo.



None.

Apr 5 2010, 3:32 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!


Press enter when you have selected a unit with the latest version of SCMDraft in the sticky thread in mapmaking tools forum. You can then move the units up and down to change the index number (which is the placement number). You only need the detectable units to be there. For example, if you have 10 hero units in the game, make the first 10 units (0-9) be owned by players 9-12/computer players, then give those units at the start to their respective players and remove them if they don't exist.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Apr 5 2010, 3:39 am bobo Post #5



thanks rockz work'd like a charm for one of my hero units (im guessin it work for all :D), turns out i didnt have the latest release of SCMDraft, anyway thanks again! this can be locked



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:08 pm]
Oh_Man -- example of wat u mean?
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
Please log in to shout.


Members Online: Roy, Wing Zero