d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > General Archive > Line break for overhead?
Add Reply New Topic
Member
Posts: 18
Joined: Oct 2 2002
Gold: 30.22
Oct 3 2002 03:02pm
I'm trying to make it so where my char constantly displays 2 variables over their head as they run around, like

Items Found: 4
Total Gold: 284849

How do I make it so all the text stops running together?

overhead("Items Found: " + found + "Total Gold: " + gold);
Retired Moderator
Posts: 681
Joined: Sep 27 2002
Gold: 752.00
Oct 3 2002 03:36pm
I dont know if I understand you right. but i think you mean you want the text not on one line.
The only way i know to do it is placing spaces after the text so the second text get's below the first one. It would be cool if newlines where supported, but those really mess up the text :)

If i understand you wrong, sorry :)
Member
Posts: 18
Joined: Oct 2 2002
Gold: 30.22
Oct 3 2002 05:49pm
No, you got it right, I wanted 2 lines. Adding spaces in the text doesn't work though.
Retired Moderator
Posts: 681
Joined: Sep 27 2002
Gold: 752.00
Oct 3 2002 06:07pm
Ik you add enough it will work, just try more spaces untill it works right.
Go Back To General Archive Topic List
Add Reply New Topic