Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   A little more help (http://forums.wolflair.com/showthread.php?t=59590)

ErinRigh November 20th, 2017 06:11 PM

A little more help
 
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?

EightBitz November 20th, 2017 06:54 PM

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

ErinRigh November 20th, 2017 08:00 PM

Got it thanks mate

TobyFox2002 November 21st, 2017 07:53 AM

So you can only take a number of levels in gladiator equal to your CON modifier? Thats an interesting concept. Kinda like it.

ErinRigh November 21st, 2017 08:34 AM

Actually, your Con modifier dictates how many times you can take the custom ability which indicates your bonus

ShadowChemosh November 21st, 2017 09:07 AM

Quote:

Originally Posted by ErinRigh (Post 259094)
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?

ErinRigh November 21st, 2017 03:57 PM

That piece of script was just to show what I was looking for, but yes apparently I am calling up Psionic Prereqs


All times are GMT -8. The time now is 12:05 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.