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.
Error Message
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?
"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?