• 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

Assigning a half base speed climb ability!

bodrin

Well-known member
I'm coding the Animal Aspect Tree Lizard but i'm stumbling on assigning the half speed to the value.

I've looked at the Fly adjustment for pointers and I can assign an absolute number but for some reason I can't get the value to correctly calculate.

here's my current script which throws this error message

Attempt to access field 'tSpeed' that does not exist for thing 'pAniAspTrL'
- - -
Attempt to access field 'tSpeed' that does not exist for thing 'xClimb'

Code:
~if we're not active, just get out now
doneif (field[pIsOn].value = 0)

~apply a climb speed of half our base speed

hero.child[xClimb].field[tSpeed].value = round(field[tSpeed].value/2,0,-1)


I've tried modifying this script to incorporate the round statement but it crashed the program and altering the Value.40 to Value.?
Code:
perform hero.child[xFly].assign[Value.40]

If I leave it as is the Climb ability shows with a 40 speed and there are no error messages!

What am I doing wrong?
 
The Zombie, Relentless template from Classic Horrors revisited grants a climb speed = 1/2 movement speed and the Half-Fiend, Half-Dragon, and Half-Celestial templates grant a fly speed = 2 x movement speed.
 
Back
Top