• 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

A little more help

ErinRigh

Well-known member
I am writing a pre-req script, this is what I have;

Code:
        var allowed as number
        var taken as number
        allowed = 1
        var classcheck as string
        var levels as number
        classcheck = "Gladiator"

I want to change the "allowed = 1" to "allowed = CON Modifier" but I am uncertain how to alter this script to do that, can anyone help?
 
If you recall one of my previous comments, you can "Enable Data File Debugging" from the "Develop" menu, then right-click on "CON" and select "Show Debug Fields for Constitution".

That will show you the various fields associated with Constitution.

Then you can view this link to see how to reference variables: http://forums.wolflair.com/showthread.php?t=21663
 
So you can only take a number of levels in gladiator equal to your CON modifier? Thats an interesting concept. Kinda like it.
 
Actually, your Con modifier dictates how many times you can take the custom ability which indicates your bonus
 
Code:
        var allowed as number
        var taken as number
        allowed = 1
        var classcheck as string
        var levels as number
        classcheck = "Gladiator"
Do you have more to this script? Logically the above does well nothing.

Also are you calling the Ultimate Psionics Pre-Req procedure for a class that has nothing to do with Psionics?
 
That piece of script was just to show what I was looking for, but yes apparently I am calling up Psionic Prereqs
 
Back
Top