Re: [tsc-devel] Re: Switch directory name change impacts level scripts...

Marvin Gülker | Mon, 07 Nov 2016 09:59:57 UTC

On Mon, Nov 07, 2016 at 05:03:17AM +0000, datahead wrote:
> What is the proper way now to set a switch to pressed/unpressed in the
> script code?

It should do that automatically for you, no need to do it manually. The
Std::Switch class registers an onload/onsave handler by itself.

> Also, it looks like the scripting doc is out of date from what I can
> tell on the website.

I'll have to look that up.

Side note: The BBCode tags are gone. Simply use colloquial
markdown-like formatting, then the forum will parse it correctly. For
code, either indent it or fence it with ~~~~~.

Vale,
Quintus

-- 
Blog: http://www.guelkerdev.de
PGP/GPG ID: F1D8799FBCC8BC4F