Demo Map Using the Object editor data in tooltips!

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
Using the Object editor data in tooltips!
by Blitz


Information:​
-This contain tips about the object editor data, and how to use them in the tooptips.
-It's very easy to you, and make you save time when you make your spells' tooltips.
-It's under [Demo Map[ because it's not big enough to be a tutorial.

Starting up[/CENTER​
]
First, open the object editor. (That's the hard part).
Then press ctrl+D and you'll all the raw values of each line pop-up.

Then read this part: (Part 1)
Here's an example of my custom spell.
The Illusionist stop the time while he creates a clone of all the units in the target area. The clones do 50% damage and takes 200% damage.|n|n|cffffcc00level 1|r - Clones last 5 seconds.|n|cffffcc00level 2|r - Clones last 10 seconds. |n|cffffcc00level 3|r - Clones last 15 seconds.
It's pretty hard to read. But ingame, it gives a good result:

gsfbdzgx2009627201255grig785o.JPG

What makes the text switch to next line is this code: |n
Look again to the tooltips quote, and you'll see it.

Now read again but this part: (Part 2)
Adding data to tooltips is quite easy. You can add any integer or real value, without having to type it. This is what can make you save time.
Now get back into your object editor and look your spell. You'll see a number, for exemple 'A000' followed by another number(useless for this)
To add add data start by <> and enter the first number in it. <A000>
Then put a comma <A000,> and search on the spell, the line you want to display. I want mana, it's Cost1. Add your data (Cost1) after the comma. <A000,Cost1>. This will display the mana cost at level 1.

Proof. tooltip:
<A000,Cost1>
Screenshot:
yerjrve52009627202439zzkbvvlp.JPG

You can use %d to have the level of the ability when your learn.
Does this mean we can display the value of another spell?
Yes.
Your done :). Hope this simplify your spell making!


Threads v1.00
Test map​
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
Obviously.

Just type, for example Cost4.
The number of the data goes with the level. If you want the data of the level 4, the data name will end by 4.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Can you supply a list of all variables that can be used?
 

Darthfett

Aerospace/Cybersecurity Software Engineer
Reaction score
615
This would be useful if it actually explained all the different ways you can display data.

You can also use <A000,DataA1,%> to display a value multiplied by 100. (Some spell data understand values between 0 and 1.00 to mean 0 and 100%).

You can also do the exact same thing with some unit values:

<hfoo,someValue>
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
If you went through the trouble of doing the Demo Map in the first place, might as well do a good job of it. It just seems to me all you have to do is get the raw of each field, not too hard.
 

Romek

Super Moderator
Reaction score
963
Click here.
That one explains it quite well, in good English too.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top