HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how do i show lives on the leader board?

09-21-2003, 02:07 PM#1
Crimsongg137
ok im not sure how to show how many lives you have left to show on the leader board..
this is the trigger i want to show how many lives
-----------------------------------------------------------
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
((Triggering unit) is A Hero) Equal to True
Actions
Set HeroDead = (HeroDead + 1)
-----------------------------------------------------------
Events
Unit - A unit Dies
Conditions
HeroDead Equal to 5
Actions
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Unit - Remove (Triggering unit) from the game)
---------------------------------------------------------------
09-21-2003, 03:35 PM#2
Dragon
Make a leaderboard (theres a trigger for it) to show what number the "Herodead" integer. To properly display lives you will need to reverse your trigger (Herodead starts at 5 and each death reduces it by 1)
09-21-2003, 04:20 PM#3
Crimsongg137
that doesnt help
09-22-2003, 02:43 AM#4
Dragon
Wtf do you need help with? Making the leaderboard?

Theres a trigger. Go into the trigger editor. Search around in actions for a "Make leaderboard" trigger.

Use it. Make the leader board show the integer that is "Herodead".

What else do you want?! :////
09-22-2003, 11:15 AM#5
Crimsongg137
ok i have a leader board with kills and i wanna show how many lives ur hero has on the same leader board..
so i did everything i thought i had to do and set it to 5 every time the hero died it went to 4 and stayed at 4
09-22-2003, 12:07 PM#6
Dead-Inside
YEh, there's some update bugdorz... Someone know how to fix?
03-09-2004, 05:18 PM#7
Crimsongg137
wow after reading what i say i feel stupid.. well lol i feel stupid