HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

function display help

03-04-2005, 09:00 PM#1
Tabris
Can somebody explain me how it work?

I transalte from trigger to Jass and I have :
DisplayTimedTextToForce( GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())), 10.00, "TRIGSTR_025" )

why TRIGSTR_025 ?
It seems to be a string but this is not what i wrote... So ???
Thanks
03-04-2005, 09:09 PM#2
xGT4x
World Editor saves all strings used in such triggers for example in a custom file in the map, you can use them by using things like TRIGSTR_01 which will automatically in the game be changed to the string that was saved to it in the file.
Look Lord Vexorian's easy map strings editor in the tools section for more information.
03-04-2005, 09:28 PM#3
Tabris
Quote:
Originally Posted by xGT4x
World Editor saves all strings used in such triggers for example in a custom file in the map, you can use them by using things like TRIGSTR_01 which will automatically in the game be changed to the string that was saved to it in the file.
Look Lord Vexorian's easy map strings editor in the tools section for more information.

It is what I though... a variable but with " " this a strange... anyway.... I will look this map if I can find it.

Thanks

EDIT : can't find it... help please
RE-EDIT : there is no way to display a string without variable?
03-04-2005, 11:27 PM#4
PitzerMike
It's the war3map.wts file in your map archive.
03-05-2005, 09:20 AM#5
Tabris
Quote:
Originally Posted by PitzerMike
It's the war3map.wts file in your map archive.

I was looking for Lord Vexorian's easy map strings editor. But I didn't find it. For the file in the mpq you are right.
But why making that? I mean why not put directly the output string?
03-05-2005, 10:47 AM#6
PitzerMike
Makes translating maps easier. Furthermore if the same string is used twice or more often, it has to be translated only once.

Lord Vexorian's tool is here: http://www.wc3campaigns.com/showthread.php?t=71887
03-05-2005, 11:20 AM#7
Tabris
Quote:
Originally Posted by PitzerMike
Makes translating maps easier. Furthermore if the same string is used twice or more often, it has to be translated only once.

Lord Vexorian's tool is here: http://www.wc3campaigns.com/showthread.php?t=71887

thanks !!!
It is better to use this varaible than my own?
like if i declare :

global
string myString
englobal

??
03-05-2005, 03:58 PM#8
PitzerMike
it really doesn't matter
usually nobody cares to externalize the strings, the GUI just does it automatically