Junior Member
Join Date: Oct 2011
Posts: 8
|
I need to setup item slots for magic tattoos so my players are restricted to one per slot and need to set up some new slots for tattoos and piercings (ear, navel, and tongue). Is it possible to do this with the editor?
|
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Take a look at THIS thread from d20 as it covers the concept of making this work. The death difference is that Pathfinder uses a Custom.? tag not a User.? tag.
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. |
#2 |
Junior Member
Join Date: Oct 2011
Posts: 8
|
I finally got back to my computer after the holidays and started to work on this and I'm still missing something.
If I have this right I make an EvalScript at Pre-Levels/10000 with the following: Code:
~ If not equipped get out now! doneif (field[gIsEquip].value = 0) ~ Set the custom equipment slot tag onto the hero. perform hero.pushtags[Custom.EqpTatRg] Code:
var tags as string ~ get which Custom Equipped tag is on our-self tags = altpick.tagids[Custom.EqpTatRg] ~ Test to make sure we are only wearing one of these pieces of equipment validif (hero.tagcountstr[tags] <= 1) |
#3 |
Thread Tools | |
Display Modes | |
|
|