• 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

Increase Activation Name txt

Frodie

Well-known member
Can the actName field be increased for longer txt?

This just part of the script. The script works fine, but the txt is cut off.

if (x = 0) then
field[actName].text = "01-05-The spell targets you, or if an area of effect, it centers on you. If it cannot target you or center on you, the spell simply fails "
done
endif
 
Last edited:
Why would you need such a long text? It's going to run off the right side of the in-play tab if it's that long, even if the field's length were increased.
 
This seems to work:

~ If we're not enabled, get out now
doneif (field[abilActive].value = 0)

var x as number

x = random(20)

if (x = 0) then
field[actName].text = "01-05"
field[CustDesc].text = "The spell targets you, or if an area of effect, it centers on you. If it cannot target you or center on you, the spell simply fails "
done
endif
 
Frodie, a test for you to run:
Change something about the character (like add and remove a space from the name). Then, look at the result listed for this ability - it's changed, hasn't it?

The random() call in your script will generate a new random number every time something changes on the character.
 
Yep, I want the random that way. It's for a wild surge, so it's a temp kind of thing. You just activate it and see what the surge is and then you un-activate it to go back to normal.

It's a home-brew Wild Spellcaster, I still have to put in spells, archetypes, items, but the class, the wild surge, and level adjustment seem to work. I attached it if anyone wants to check it out.
 

Attachments

Last edited:
Back
Top