PDA

View Full Version : Accessing Derived Stats In Lua



UrsaTeddy
April 30th, 2020, 01:49
Greetings,

Was wondering how to address a derived stat from LUA script.

The code in the ruleset uses a list of XML definitions to generate the derived stats automatically, so how do I address a specific one to, for example, hide or show it.

For example a setting that does not use toughness (I know it is unlikely but it is an example).

Thanks in advance,
D

Talyn
April 30th, 2020, 03:13
Savage Worlds API (https://www.fantasygrounds.com/forums/showthread.php?26363-Savage-Worlds-API)

UrsaTeddy
April 30th, 2020, 05:32
Savage Worlds API (https://www.fantasygrounds.com/forums/showthread.php?26363-Savage-Worlds-API)

Thank you for that ... I missed that post among the others I was looking for.

D