Using enters in tooltip text for items and abilities

nicolas

New Member
Reaction score
2
So as the title cinda says, how can i create enters in tooltip text. When you use the space button untill the next line and type your tooltip text, it wont show as an enter in the game but rather come right after the last sentence you typed. So is there some cind of code to create a blank line between text. cause my explanation sucks ill give a example:
So i got an item where im putting some information in the tooltip text like this item gives +100 damage. Now i want to make the text like:
This item gives

+100 Damage

Thx in advance,

Nic
 

Sui-cookie

You can change this now in User CP.
Reaction score
49
put : "|n" in the tooltip for it to skip to the next line, much like hitting enter will do on word documents and such. Just hitting enter is like hitting the "accept" button or something in the object editor :p

example:
This item gives

+100 Damage

Would actually be:

This item gives|n|n+100Damage

in the object editor

-happy mapping :D
 

Moradiae

TH.net Regular
Reaction score
14
Not sure if this works for the - Normal tooltips (with 1 lines of text input box)
but certainly for the - Extended ones:

|n :)

=== Edited, sorry, didn't refresh page at that fast an interval (less than 4 min.)
 

Sui-cookie

You can change this now in User CP.
Reaction score
49
i'm pretty sure it does work in normal tooltips :O

i've seen units who's name was like
Ragnorok
Elemental
and it looked just like that :x not really long or anything.

edit: -.- and it wasn't a hero. it was a legit unit.
 

Mythes

Member
Reaction score
7
you can also use Ctrl+Enter.
That makes the same effect of an Enter, but it works when you can't type enter because it would close the window...
 

Moradiae

TH.net Regular
Reaction score
14
another method is simply copy n paste from a word document ;)
this is what I used anyway, I just find it easier to work with rather than the small box WE offers :(
 

BlackRabbit

New Member
Reaction score
3
I must say, a very helpful thread. Wasn't sure how to do this myself: Hopefully I remember the next time I need it!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top