So is there a script to delete items that have a specific tag?
Example, a script that would delete all items that have the spell-like ability tags.
The idea is to add this to a template. Particularly the skeletal dragon template. Currently all skeletal templates "delete" all special abilities, but they still show in the Special tab. I want to only delete the spell-like abilities and supernatural abilities.
Code:
~ Disable all special abilities apart from the ones that we bootstrap
foreach pick in hero from BaseSpec where "!component.BaseFeat & !thingid.xDamRdB & !thingid.xImmCold & !thingid.rDarkVis"
perform eachpick.assign[Helper.FtDisable]
nexteach
Is the current script but only disables all special abilities except for what the template boot straps. So it doesn't really help to say disable just a type of special ability.