Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Senko
Senior Member
 
Join Date: Jan 2014
Posts: 242

Old January 14th, 2022, 07:46 PM
I recently got a mundane robe (hides magic auras) and it keeps generating the following error message . . .

attemp to access field 'pIsOn' that does not exist for the thing 'ioGRMundRb' Location 'eval' script for Thing 'ioGRMundRb' (Eval Script '#1)' near line 2

I took a look at the actual eval script

doneif (field[pIsOn].value = 0)

#situational[hero.child[skStealth],"+5 competene to hide by blending into crowd",field[name].text]


The error message makes me think its issue lies with the doneif (field[pIsOn].value = 0 but I can't see why this would be an issue. It occurs at pre-levels priority 4000 index 1.
Senko is offline   #1 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 413

Old January 15th, 2022, 07:12 AM
Quote:
Originally Posted by Senko View Post
doneif (field[pIsOn].value = 0)
I'm guessing you lifted your script from an adjustment, because the field pIsOn is mostly used to validate if an adjustment is checked or not.

For a magic item that needs to be equipped to be usable, you would use

doneif (field[gIsEquip].value = 0)

This expression ends the script (thus making it do nothing) if the item is not equipped.

Last edited by Lord Magus; January 21st, 2022 at 03:16 AM. Reason: Clarification if somebody else stumbles upon explanation
Lord Magus is offline   #2 Reply With Quote
Senko
Senior Member
 
Join Date: Jan 2014
Posts: 242

Old January 21st, 2022, 01:12 AM
Thanks.

This isn't mine the mundane robe is in the programming under ioGRMundRb. May have come from community resources or some other pack I downloaded as there's no source book listed for it and google doesn't find it hence why I assumed the script was correct.

EDIT
That fixed it thanks.

Last edited by Senko; January 23rd, 2022 at 01:27 AM.
Senko is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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