• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Execute EvalScript globally on a hero

panda

Well-known member
I would like to do some translations for my players (the spells) as some do not understand english. Replace the spell with my own version is not a good solution because if mecanics and other stuffs changes, my translated copy of the spell will be obsolete.

ShadowChemosh has explained to me already how to change text, name and description via Evalscript.

I thinks the best would be to do an Evalscript that execute on the hero and if it find spells, replace the text with a new text in french in my case. So in my user file, the global evalscript check for every spell on the hero, if found replace the name, description and change feets to meters.

But I can't find a way to do this global hero Evalscript. Any idea ?
 
Create a Mechanic, which is added to all heroes. On that, you'll have to use an eval script to overwrite the description/name of each spell, there isn't really a way to mass do it with a foreach or whatever.
 
Back
Top