• 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

help with a Condition on a bootstrap

jkthomsen9

Well-known member
I have a custom ability baboon tatoo, that gives a 30' climb speed once a day for 3 rds. On the ability I have bootstraped xClimb with a abValue of 30. I am tring to have it only add the climb ability if the tatoo is active. I am not sure how to use the condition tab. I tried the following, with several variations, but it dose not work.

if (field[abilActive].value <> 0) Then
Valid
endif
 
In this case, add climb without any conditions, but don't apply the climb speed directly to xClimb.

Instead, add an Eval Script to your ability, Phase and Priority: Post-Levels/any

Code:
if (field[abilActive].value <> 0) then
  #applyvalue[xClimb,30]
  endif
 
ok. how whould this work with other tatoos...one gives the weapon rake another rend, and yet another gives DR? Is it better to add a if then statment or a condition in these cases?
 
For the natural attack, use this as the condition:
Phase: First Priority: 500
Code:
fieldval:abilActive <> 0

Conditions use a very different type of code than regular scripting.
 
Last edited:
For the DR, assign a value with

#applyrd[]

For the weapon, use a condition.

In HL, all the DR's, energy resistances, movement speeds, SR, etc. are set up so that if they have a value of 0, they'll hide themself, so in those cases, you don't need a condition, just don't assign a value until you need one.

Weapons don't have that - a weapon is always active once bootstrappped to a character, so you do want the condition in that case.
 
Back
Top