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

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

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

Post 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.
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

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

Post 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];
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 1 guest