• 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

Tutorials??

fierop

Member
Hey guys, would there be any chance of say some advanced scripting tutorials or even samples being published for the authoring kit?
 
We could probably write 1000 sample scripts and still not cover everything that HL can do. So perhaps you could outline exactly what types of scripts you're seeking examples for. Then we can either write an an appropriate example or point you to a script that already exists as a good example. Tell us what you need and we'll do our best to provide it.
 
Adding Half Level and Ability Modifier

I have this script for a custom ability (activated, counter)

#trkmax[cArdDram] += (hero.child[aINT].value/2)

and cant figure it out....
 
hero.child[aINT].field[aModValue].value/2 for the INT bonus / 2 or hero.child[aINT].field[aFinalVal].value/2 for the final value / 2.

You'll also want to round that down:

round(hero.child[aINT].field[aFinalVal].value/2, 0, -1)

round (thing to round, 0 decimals, round down)

In the editor, press help - that will give you the editor manual. There's a "Reference Information" page there that will give you information like this.

For future reference, please post questions that apply to specific game systems in the forum for that game system, rather than the authoring kit forum (which is for creating new game systems with the authoring kit).
 
Last edited:
Back
Top