| 03-15-2006, 10:16 AM | #1 |
How do i make it that a floating text would be seen only by one player or a player of my choosing? I'm trying to make a lumber version of the gold bounty floating text (a green version of the yellow text that appears every time you get to kill a bounty-giving unit for e.g. +10 instead of +10). Also, (off-topic) is there a way to access the lumber bounty value of a unit so I can use it for this? I hope I didn't ask a 2-nooby-4-you question ![]() |
| 03-15-2006, 10:27 AM | #2 |
I suppose this means ban? and for your problem Set tempPlayer = (Some player) Custom Script: if GetLocalPlayer() == udg_tempPlayer then Actions..... Custom Script: endif |
| 03-15-2006, 10:33 AM | #3 |
Oh shi... I hope so. Scarred for life here @.@ Anyhow... Thanks. I was kinda hoping there was some non-JASS solution. But I think I can handle this. Thanks again. |
| 03-15-2006, 10:37 AM | #4 |
Well It's still just GUI. you just put the "If Getlocalplayer" before your floating text actions, and then an "endif" afterwards. |
| 03-15-2006, 11:01 AM | #5 |
Really? Hmm... didn't know JASS and GUI could be combined like that. Cool. Thanks again! |
| 03-15-2006, 02:13 PM | #6 |
Instead of going to trouble like that you can directly change gold text colours in some file, UI\Misc.txt or whatever. Dunno if it actually works, but there is a file like that that stores the text colours for pretty much everything, including mana burn, gold, lumber, critical strike, etc |
| 03-15-2006, 04:57 PM | #7 |
I wasn't planning on changing the color of gold text colors. What I intend is for there to be lumber text colors together with gold... I've tried looking for something in the game interface panel that would allow my map to show lumber earnings but found none (probably because there are no creeps in melee maps that cough up lumber so i guess they didn't bother to put in that feature). Sooo.... yeah. I gotta go through trouble like this it appears :P Unless of course I did overlook something on the game interface editor... Thanks for your concern though ^^ |
