Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Pretty straight forward ability but having a problem implementing this.
"Your hair grows into sharp quills. When not wearing armor, you may make attacks with your hair as though you were wearing armor spikes" I've bootstrapped the wArmorSpk tag and entered this code. Code:
Pre Levels : 5000 ~ If we're disabled, do nothing doneif (tagis[Helper.FtDisable] <> 0) ~ We get an attack similar to armor spikes ~ if we aren't wearing armor foreach pick in hero where "EquipType.Armor" if (eachpick.field[gIsEquip].value <> 0) then ~ Hide our armor spikes perform hero.childfound[wArmorSpk].assign[Hide.Weapon] endif nexteach Code:
Attempt to access non-existent parent pick for a top-level container from script Location: 'eval' script for Component 'BaseWep' (Eval Script '#1') near line 7 - - - Attempt to access non-existent parent pick for a top-level container from script Location: 'eval' script for Component 'BaseWep' (Eval Script '#1') near line 10 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: 'eval' script for Component 'BaseItemPw' (Eval Script 'Add Item Power Price') near line 14 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: 'eval' script for Component 'BaseItemPw' (Eval Script 'Add Item Power Price') near line 14 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: 'eval' script for Component 'BaseItemPw' (Eval Script 'Add Item Power Price') near line 15 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: 'eval' script for Component 'BaseItemPw' (Eval Script 'Add Item Power Price') near line 15 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: 'eval' script for Component 'BaseItemPw' (Eval Script 'Add Item Power Price') near line 29 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: 'eval' script for Component 'BaseItemPw' (Eval Script 'Add Item Power Price') near line 32 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: 'eval' script for Component 'BaseItemPw' (Eval Script 'Add Item Power Price') near line 32 - - - Attempt to access non-existent child pick 'gCustMagic' from script Location: Procedure 'iDescAdd' near line 5 Any thoughts? Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
|
#1 |
Senior Member
Join Date: Jul 2012
Posts: 416
|
You are going to just have to create a new weapon that has all the stats you need for your hair spikes. The built in armor spikes is too tied into the actual custom armor gizmo to be of much use away from it.
The other option is to make 'hair' armor, add that to your character and add armor spikes to it. |
#2 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Quote:
Hair spike weapons it is. Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
|
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Also instead of doing a foreach loop to figure out if a person is wearing armor just check the tag on the Hero instead. Always avoid using a foreach unless you have no other choice.
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. |
#4 |
|
|