Hmm, this looks like it should work so I am guessing I am putting it in wrong spot or maybe a timing issue?
I added a mechanic to setting:
Code:
Initialization 1000
if (hero.tagis(Hero.Creature) <> 0) then
perform hero.assign[Hide.trBBSavings]
endif
And I get the following error when trying to save file in Editor:
Quote:
Syntax error in 'eval' script for Thing 'mecBBSavCheck' (Eval Script '#1') on line 1
-> Invalid use of reserved word 'hero' in script
|
I also tried placing this on a creature itself to try out, same error, as well as on the derived trait itself. So obviously I am doing something wrong