Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
This article is part of a collection of editor and scripting articles: http://forums.wolflair.com/showthread.php?t=21688
In Hero Lab's scripting languages, the standard math operations are of course available: + - * / So, you can write instructions like: hero.child[skClimb].field[Bonus].value = hero.child[skClimb].field[Bonus].value + 2 There's also a way to abbreviate that, so you don't have to type as much: += -= *= /= Here's the same instruction, with the abbreviation: hero.child[skClimb].field[Bonus].value += 2 These abbreviations remove the need to repeat the base thing. Other common math operations:
Last edited by Mathias; June 19th, 2012 at 09:40 AM. |
#1 |
|
|