PDA

View Full Version : Need help locating "window"



Thinkcrown
July 23rd, 2025, 01:02
Hey hey. I was wondering if anyone knows what the "window" that precedes a number of dot operators in the CoreRPG/5E ruleset code references.

For example, in ct_host_entry.xml:


function update() window.onHealthChanged(); end

I've been able to locate almost everything else on my own when it comes to navigating the code for creating extensions, as most end up being the shortened script names for lua files, but "window" eludes me, quite frustratingly.

I can't solve script execution errors to attempt to call a field like onStressChanged unless I can access whatever file (or etc) this "window" refers to.

superteddy57
July 23rd, 2025, 01:21
It would be referencing a function call in the root of the windowclass of the control.

Moon Wizard
July 23rd, 2025, 01:49
I responded in your original thread here:
https://www.fantasygrounds.com/forums/showthread.php?85090-Additional-quot-Health-quot-Bar&p=747614&viewfull=1#post747614

Regards,
JPG

Thinkcrown
July 23rd, 2025, 18:50
Thank you, both of you.