Page 1 of 1

Best way to read from/write to manialink in normal script?

Posted: 09 Sep 2016, 17:39
by BigBang1112
I have been always wondering on this question.
Not only in plugins, but in modes also, how I can read variables from manialink in non-manialink code?

Thanks for any answer.

Re: Best way to read from/write to manialink in normal scrip

Posted: 09 Sep 2016, 22:51
by Dommy
Dedicated servers game modes: netwrite / netread.

Plugins (editor / system):
declare {type} {name} for Page; (in manialink)
declare {type} {name} for Layer.LocalPage; (in plugin)

Local solo scripts: persistent {type} {name} for LocalUser; or Users[0];