I am trying to add the speed ability from weapon enchanments to a wounderous item and I get the following error message
Attempt to access non-existent parent pick for a top-level container from script
- - -
Attempt to access non-existent child pick 'gCustMagic' from script
Here is the script that I am using Prelevels 10000
~ we get an extra attack unless we're the off-hand weapon and we're being dual-wielded
if (parent.field[wIs2nd].value <> 0) Then
foreach pick in hero from BaseWep where "Helper.ExtraHigh"
doneif (eachpick.field[gIsEquip].value <> 0)
nexteach
endif
perform parent.assign[Helper.ExtraHigh]
else
foreach pick in hero from BaseWep where container.child[gCustMagic].field[gWeapExpr].text
perform eachpick.assign[Helper.ExtraHigh]
nexteach
endif
Attempt to access non-existent parent pick for a top-level container from script
- - -
Attempt to access non-existent child pick 'gCustMagic' from script
Here is the script that I am using Prelevels 10000
~ we get an extra attack unless we're the off-hand weapon and we're being dual-wielded
if (parent.field[wIs2nd].value <> 0) Then
foreach pick in hero from BaseWep where "Helper.ExtraHigh"
doneif (eachpick.field[gIsEquip].value <> 0)
nexteach
endif
perform parent.assign[Helper.ExtraHigh]
else
foreach pick in hero from BaseWep where container.child[gCustMagic].field[gWeapExpr].text
perform eachpick.assign[Helper.ExtraHigh]
nexteach
endif