View Single Post
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 169

Old December 22nd, 2018, 06:55 AM
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
Gumbytie is offline   #3 Reply With Quote