Skip to content

DoomWare API

Buu342 edited this page May 12, 2021 · 32 revisions

Scripts and Functions

The following contains a list of scripts and functions which you can use to assist you during the development of new minigames for DoomWare

Player Related

Name Type Arguments Return Description
Player_Win
Player_Lose
Player_SavePosition
Player_InvalidatePosition
Check_LMS
Check_LMS_MVMTie
DoomWare_Server_GameWait
DoomWare_Server_TeleportPlayers
DoomWare_Server_TeleportSingle
DoomWare_Server_ReturnPlayers
Add_Observer
Force_Observe
Check_Player_Won
Check_Player_Lost
Give_Achievement
Player_Morph
Player_FreezeTotally
Player_UnFreezeTotally
Calc_Speed
Distance
Check_WonRoundItem
Check_FailRoundItem
Max
AToI
DoomWare_Entity_MarkCleanup

Global Variables

The following contains a list of global variables which you can modify during the execution of your minigame.

Internal Functions and Scripts

This section contains a list of internal functions and scripts used by DoomWare. You should have very little reason to use them, but they're here for documentation's sake.

Name Type Arguments Return Description
DoomWare_Server_Boot
DoomWare_Client_Join
DoomWare_Server_Initialize
DoomWare_Server_InitMap
DoomWare_Server_InitHints
SoloBanList
DoomWare_Server_InitRounds
DoomWare_Server_InitHighscores
DoomWare_Server_Wackymod
DoomWare_Client_Initialize
Should_Speedup
ShouldTieBreak
Is_1v1_TieBreaker
DoomWare_Server_GameLogic
No_MidRound_Array
Player_SetWackymod
DoomWare_Server_UpdateDB
DoomWare_Server_InitGlobals
DB_NetworkStats
DoomWare_Server_SyncGlobals
Player_SetCVar
Player_SetCVarString
Player_SetCVarStringPacked
Pack_Global_Array
Unpack_CVar_Array
Unpack_CVar_Array_String
DoomWare_Client_Death
DoomWare_Client_Disconnect
DoomWare_Client_Respawn
DoomWare_Client_GameLogic
DoomWare_Client_DrawHUD
257
DoomWare_Server_CalcHighscore
DoomWare_Client_DrawHighscore
DoomWare_Server_ClearObservers
998
999
DoomWare_Client_DrawMenu
Handle_Menu_Option
Handle_Menu_Achievement
IsBetaTester
DoomWare_Server_Hats
DoomWare_WackyMod_DoubleJump
DoomWare_Entity_Cleanup
DoomWare_Entity_CheckCleanup
DoomWare_DoLightning
DoomWare_AchievementLog
DoomWare_Entity_SetPlayerTranslation
Load_PlayerDB

Internal Global Variables

This section contains a list of internal global variables used by DoomWare. Modifying these variables during gameplay can cause problems with the gamemode, therefore they should be treated as READ ONLY.

Clone this wiki locally