Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old December 15th, 2014, 08:45 AM
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
Error Message

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
Do I have to create a new Armor Spike like weapon as it would appear that the code is having a tough time trying to add the spike attack?

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
bodrin is offline   #1 Reply With Quote
Fuzzy
Senior Member
 
Join Date: Jul 2012
Posts: 416

Old December 15th, 2014, 08:59 AM
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.
Fuzzy is offline   #2 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old December 15th, 2014, 10:50 AM
Quote:
Originally Posted by Fuzzy View Post
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.
That's what I thought.
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
bodrin is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 15th, 2014, 11:13 AM
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.
ShadowChemosh is offline   #4 Reply With Quote
Reply


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 04:40 PM.


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