| 06-30-2004, 10:41 PM | #1 |
Hey everyone! I am working on ym new RPG and I was wondering what the trigger was to show the exp gained AND the gold gained. This would really help me in my map. Thanks in advance for your help! |
| 06-30-2004, 10:52 PM | #2 |
Where do you wan't to show them? In a LeaderBoard, or in a MultiBoard? |
| 06-30-2004, 11:00 PM | #3 |
I wan tto show it above the dying units head... like the gold already shows up there but I want the exp to show also (example +5 gold +10 exp) |
| 06-30-2004, 11:03 PM | #4 |
Ah, now i get it, have you seen this anywhere? Because i'm quite sure it would require some JASS'ing. Correct me if i'm wrong. |
| 06-30-2004, 11:05 PM | #5 |
I dont know what it would require thats why Im asking how to do it lol o_O o_O |
| 06-30-2004, 11:14 PM | #6 |
You can do it with floating text quite easily. Here is a trigger I used for my map: Code:
Kills display
Events
Unit - A unit Dies
Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
Actions
Floating Text - Create floating text that reads ((+ + (String((Point-value of (Dying unit))))) + EXP) above (Dying unit) with Z offset 0.00, using font size 8.00, color (70.00%, 30.00%, 60.00%), and 0.00% transparency
Set N = (N + 1)
Set dyingexpshow[N] = (Last created floating text)
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Wait 1.00 seconds
Floating Text - Destroy dyingexpshow[1]
For each (Integer A) from 1 to N, do (Set dyingexpshow[(Integer A)] = dyingexpshow[((Integer A) + 1)])
Set N = (N - 1)Although I used a units point value for my own custom exp table, you just need to change that. |
| 06-30-2004, 11:17 PM | #7 |
Floating text was indeed my first thought, but it gets too clumsy in my opinion :/ Wish i could find the function executing the "Gold" text above the dying units head, in JASS that is. |
| 06-30-2004, 11:39 PM | #8 |
Does anyone know how to do it with JASS though?? |
| 06-30-2004, 11:40 PM | #9 |
In the USMWE You can simulate Gold text messages. |
| 07-01-2004, 12:37 AM | #10 | |
Quote:
... Dasjank: You are alive? , mind submitting a spell for the last spell of the week , week? |
| 07-01-2004, 02:29 AM | #11 |
Yes WEU can do it with advanced triggers and you would need to load up your map in the WEU world editor all the time. But it seems to be able to open your map without making it unreadable by the Blizzard world editor floating text or JASS is the way to go. And since I'm only a GUI triggerer and learning JASS on the side I can't help you there :\ . |
