![]() |
Trackmania ManiaScript Reference 2025.6.19.2137
A ManiaScript Reference of the new Trackmania.
|
API for GameModes Manialinks. More...
#include <doc.h>
Public Types | |
| enum | EInGameMenuResult { Resume , Quit , NormalMenu , AdvancedMenu , ServerSettings } |
| enum | EUISound { Default , Silence , StartMatch , EndMatch , StartRound , EndRound , PhaseChange , TieBreakPoint , TiePoint , VictoryPoint , Capture , TimeOut , Notice , Warning , PlayerEliminated , PlayerHit , Checkpoint , Finish , Record , ScoreProgress , RankChange , Bonus , FirstHit , Combo , PlayersRemaining , Custom1 , Custom2 , Custom3 , Custom4 } |
Public Types inherited from CMlScript | |
| enum | LinkType { ExternalBrowser , ManialinkBrowser , Goto , ExternalFromId , ManialinkFromId , GotoFromId } |
API for GameModes Manialinks.
Supported declare modes :
| Void CMlScriptIngame::CloseInGameMenu | ( | CMlScriptIngame::EInGameMenuResult | Result | ) |
| Void CMlScriptIngame::CloseScoresTable | ( | ) |
| Void CMlScriptIngame::CopyServerLinkToClipBoard | ( | ) |
| Void CMlScriptIngame::JoinTeam1 | ( | ) |
| Void CMlScriptIngame::JoinTeam2 | ( | ) |
| Void CMlScriptIngame::PlayUiSound | ( | CMlScriptIngame::EUISound | Sound, |
| Integer | SoundVariant, | ||
| Real | Volume ) |
Request change of IsSpectatorClient (not immediate, and it may be refused).
Set the spectated player, but do not switch to spectator mode automatically. Equivalent to numpad1/2/3/4
| Void CMlScriptIngame::ShowCurChallengeCard | ( | ) |
| Void CMlScriptIngame::ShowInGameMenu | ( | ) |
| Void CMlScriptIngame::ShowModeHelp | ( | ) |
| CUIConfig* const CMlScriptIngame::ClientUI |
Locally accessible by the client script to locally override settings from the server.
| Text CMlScriptIngame::CurrentServerDesc |
| Text CMlScriptIngame::CurrentServerJoinLink |
| Text CMlScriptIngame::CurrentServerLogin |
| Text CMlScriptIngame::CurrentServerModeName |
| Text CMlScriptIngame::CurrentServerName |
| Integer CMlScriptIngame::GameTime |
| Boolean CMlScriptIngame::IsInGameMenuDisplayed |
| Boolean CMlScriptIngame::IsSpectator |
Is in spectator mode - may be only for a short time between rounds.
| Boolean CMlScriptIngame::IsSpectatorClient |
Client actually desires to spectate instead of playing.
| CMap* const CMlScriptIngame::Map |
| CManiaAppPlaygroundCommon* const CMlScriptIngame::ParentApp |
Will be Null if the script is not runing in a layer of an app.
| CPlaygroundClient* const CMlScriptIngame::Playground |
| Integer CMlScriptIngame::SplitScreenCount |
| Boolean CMlScriptIngame::SplitScreenIsHorizontal |
| Integer CMlScriptIngame::SplitScreenNum |
| CUIConfig const* const CMlScriptIngame::UI |
(read-only) UI actually displayed, as defined by the server.
| Boolean CMlScriptIngame::UseClans |
| Boolean CMlScriptIngame::UseForcedClans |