View Single Post
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old June 11th, 2019, 10:07 PM
Quote:
Originally Posted by PGoodman13 View Post
Okay, being able to make a Talent legal in the Personal tab seems to have worked just fine; it let me make a Klingon telepath as a test case just fine, so that's way cool.

The validation rule was easier than I thought it was going to be. Also way cool.

Brings me back to line 3 of that eval script where I'm trying to up the damage of an unarmed strike.

Code:
perform hero.childfound[wpUnarmed].field[wpDamage].value += 2
Getting a different syntax error now when I try to compile/test it: "Error in string expression." I don't happen to see an error there, but I'm a game writer and not a developer.
I think "perform" invokes a function, whereas "blah += 2" is an expression that would normally be on its own line. (But I'm not fully up to speed on their scripting language.)

Farling

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #126 Reply With Quote