View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 24th, 2018, 10:23 AM
Quote:
Originally Posted by FluffyDingo View Post
Looks like that's setting at First/1000 from what I see.
Where and how are you seeing this? Because like I mentioned above I built a test item and actually used "DEBUG" statements to prove that field works at First/490.

To make sure we are on the same page. The BEST way to find an answer for timing is to use DEBUG statements in the script.

Make a script on your item and set it to First/490. Then add this script:
Code:
debug "gIsEqip " & field[gIsEquip].value
debug "gUserEquip " & field[gUserEquip].value
Then in HL go to Develop->Floating Info Windows->Show Debug Output. You get a new window that shows the results of the above values.

Add the item to a blank character and then equip and un-equip the item. The values of the above fields at First/490 will be displayed to you. This then lets you 100% prove what the values are at for a specific timing.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #8 Reply With Quote