Page 6 of 10
Re: ManiaScript Documentation
Posted: 03 Jul 2013, 16:40
by steeffeen
dude i've already looked at the code ^^
the question is how to send commands...
Re: ManiaScript Documentation
Posted: 03 Jul 2013, 16:46
by w1lla
By a server controller
It can be done like for instance in ManiaLive:
Code: Select all
$command = array();
$command[] = array("Command_ForceWarmUp" => true;
$this->connection->sendModeScriptCommands($command);
That seems to work for me.
Re: ManiaScript Documentation
Posted: 03 Jul 2013, 16:51
by steeffeen
damn it, i hoped it's possible directly ingame ^.^
thanks anyways

Re: ManiaScript Documentation
Posted: 03 Jul 2013, 16:53
by Eole
It's possible directly ingame.
It's in the same menu where you vote to change the settings of the server. You can select multiple commands and launch a vote for it.
Re: ManiaScript Documentation
Posted: 03 Jul 2013, 17:01
by steeffeen
Eole wrote:It's possible directly ingame.
It's in the same menu where you vote to change the settings of the server. You can select multiple commands and launch a vote for it.
tried it with elite and couldn't see anything about commands

Re: ManiaScript Documentation
Posted: 03 Jul 2013, 17:05
by djhubertus
Go to updated server and check out script settings

Re: ManiaScript Documentation
Posted: 03 Jul 2013, 17:11
by steeffeen
djhubertus wrote:Go to updated server and check out script settings

well i started an ingame match..
tried it again and now i can see the commands.. don't know why it wasn't displayed previously
Re: ManiaScript Documentation
Posted: 04 Jul 2013, 14:21
by w1lla
Re: ManiaScript Documentation
Posted: 17 Jul 2013, 11:19
by w1lla
Re: ManiaScript Documentation
Posted: 17 Jul 2013, 11:35
by spaii
Thx w1lla
12-07-2013 Release (with quick fix)
New functions/enums in class :
CUILayer:
enum EUILayerType {
Normal,
ScoresTable,
ScreenIn3d,
AltMenu,
Markers,
CutScene,
<===== ADDED
EditorPlugin,
ManiaplanetPlugin,
ManiaplanetMenu,
};
CMode:
Void TweakTeamColorsToAvoidHueOverlap();
CUIConfig:
Boolean UISequence_CanSkipIntroMT;
EVisibility AlliesLabelsShowNames;
EVisibility TeamLabelsShowNames;