nyuuzyou/wikis huggingface dataset:
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetCustomXPRequiredToReachNextLevel

== Function Description ==
 void SetCustomXPRequiredToReachNextLevel(handle hTable) 
Allows definition of a table of hero XP values.
== Parameters ==
Type 	Name 	Description
handle	hTable	No Description Set
== Examples ==
The following example demonstrates the SetCustomXPRequiredToReachNextLevel function inside addon_game_mode.lua
function CAddonTemplateGameMode:InitGameMode()
 local mode = GameRules:GetGameModeEntity()
 XP_PER_LEVEL_TABLE = {
 0, -- 1
 200, -- 2
 500, -- 3
 900, -- 4
 1400, -- 5
 2000, -- 6
 2640, -- 7
 3300, -- 8
 3980, -- 9
 4680, -- 10
 5400, -- 11
 6140, -- 12
 7340, -- 13
 8565, -- 14
 9815, -- 15
 11090, -- 16
 12390, -- 17
 13715, -- 18
 15115, -- 19
 16605, -- 20
 18205, -- 21
 20105, -- 22
 22305, -- 23
 24805, -- 24
 27500 -- 25
 }
 mode:SetCustomXPRequiredToReachNextLevel(XP_PER_LEVEL_TABLE)
end
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetDamageFilter

== Function Description ==
 void SetDamageFilter(handle hFunction, handle hContext) 
Set a filter function to control the behavior when a unit takes damage. (Modify the table and Return true to use new values, return false to cancel the event)
;Example
function CDOTABaseGameMode:SetDamageFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetExecuteOrderFilter

== Function Description ==
 void SetExecuteOrderFilter(handle hFunction, handle hContext) 
Set a filter function to control the behavior when a unit picks up an item. (Modify the table and Return true to use new values, return false to cancel the event)
;Example
function CDOTABaseGameMode:SetExecuteOrderFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetFixedRespawnTime

== Function Description ==
 void SetFixedRespawnTime(float time) 
Sets the dota respawn time. -1 for default behavior
== Parameters ==
Type 	Name	Description
float	time	How long until heroes respawn. -1 for default dota behavior
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetFogOfWarDisabled

== Function Description ==
 void SetFogOfWarDisabled(bool bDisabled) 
Turn the fog of war on or off.
== Parameters ==
Type	Name 	Description
bool	bDisabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetFountainConstantManaRegen

== Function Description ==
 void SetFountainConstantManaRegen(float flConstantManaRegen) 
Set the constant rate that the fountain will regen mana. (-1 for default)
;Example
function CDOTABaseGameMode:SetFountainConstantManaRegen( flConstantManaRegen ) end
== Parameters ==
Type 	Name 	Description
float	flConstantManaRegen	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetFountainPercentageHealthRegen

== Function Description ==
 void SetFountainPercentageHealthRegen(float flPercentageHealthRegen) 
Set the percentage rate that the fountain will regen health. (-1 for default)
;Example
function CDOTABaseGameMode:SetFountainPercentageHealthRegen( flPercentageHealthRegen ) end
== Parameters ==
Type 	Name 	Description
float	flPercentageHealthRegen	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetFountainPercentageManaRegen

== Function Description ==
 void SetFountainPercentageManaRegen(float flPercentageManaRegen) 
Set the percentage rate that the fountain will regen mana. (-1 for default)
;Example
function CDOTABaseGameMode:SetFountainPercentageManaRegen( flPercentageManaRegen ) end
== Parameters ==
Type 	Name 	Description
float	flPercentageManaRegen	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetGoldSoundDisabled

== Function Description ==
 void SetGoldSoundDisabled(bool bDisabled) 
Turn the sound when gold is acquired off/on. Takes a bool.
== Parameters ==
Type	Name 	Description
bool	bDisabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetHUDVisible

== Function Description ==
 void SetHUDVisible(int iHUDElement, bool bVisible) 
Set the HUD element visibility.
;Example
function CDOTABaseGameMode:SetHUDVisible( iHUDElement, bVisible ) end
== Parameters ==
Type	Name 	Description
int 	iHUDElement	No Description Set
bool	bVisible 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetItemAddedToInventoryFilter

== Function Description ==
 void SetItemAddedToInventoryFilter(handle hFunction, handle hContext) 
Set a filter function to control when a unit add an item to inventory.
;Example
function CDOTABaseGameMode:SetItemAddedToInventoryFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetLoseGoldOnDeath

== Function Description ==
 void SetLoseGoldOnDeath(bool bEnabled) 
Use to disable gold loss on death.
;Example
function CDOTABaseGameMode:SetLoseGoldOnDeath( bEnabled ) end
== Parameters ==
Type	Name 	Description
bool	bEnabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetMaximumAttackSpeed

== Function Description ==
 void SetMaximumAttackSpeed(int nMaxSpeed) 
Set the maximum attack speed for units.
;Example
function CDOTABaseGameMode:SetMaximumAttackSpeed( nMaxSpeed ) end
== Parameters ==
Type	Name 	Description
int 	nMaxSpeed	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetMinimumAttackSpeed

== Function Description ==
 void SetMinimumAttackSpeed(int nMinSpeed) 
Set the minimum attack speed for units.
;Example
function CDOTABaseGameMode:SetMinimumAttackSpeed( nMinSpeed ) end
== Parameters ==
Type	Name 	Description
int 	nMinSpeed	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetModifierGainedFilter

== Function Description ==
 void SetModifierGainedFilter(handle hFunction, handle hContext) 
Set a filter function to control modifiers that are gained, return false to destroy modifier.
;Example
function CDOTABaseGameMode:SetModifierGainedFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetModifyExperienceFilter

== Function Description ==
 void SetModifyExperienceFilter(handle hFunction, handle hContext) 
Set a filter function to control the behavior when a hero's experience is modified. (Modify the table and Return true to use new values, return false to cancel the event)
;Example
function CDOTABaseGameMode:SetModifyExperienceFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetModifyGoldFilter

== Function Description ==
 void SetModifyGoldFilter(handle hFunction, handle hContext) 
Set a filter function to control the behavior when a hero's gold is modified. (Modify the table and Return true to use new values, return false to cancel the event)
;Example
function CDOTABaseGameMode:SetModifyGoldFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetOverrideSelectionEntity

== Function Description ==
 void SetOverrideSelectionEntity(handle unit) 
Set an override for the default selection entity, instead of each player's hero.
== Parameters ==
Type 	Name	Description
handle	unit	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetRecommendedItemsDisabled

== Function Description ==
 void SetRecommendedItemsDisabled(bool bDisabled) 
Turn the panel for showing recommended items at the shop off/on. Takes a bool.
== Parameters ==
Type	Name 	Description
bool	bDisabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetRemoveIllusionsOnDeath

== Function Description ==
 void SetRemoveIllusionsOnDeath(bool bRemove) 
Make it so illusions are immediately removed upon death, rather than sticking around for a few seconds.
== Parameters ==
Type	Name 	Description
bool	bRemove	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetRuneEnabled

== Function Description ==
 void SetRuneEnabled(int nRune, bool bEnabled) 
Set if a given type of rune is enabled.
;Example
function CDOTABaseGameMode:SetRuneEnabled( nRune, bEnabled ) end
== Parameters ==
Type	Name 	Description
int 	nRune 	No Description Set
bool	bEnabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetRuneSpawnFilter

== Function Description ==
 void SetRuneSpawnFilter(handle hFunction, handle hContext) 
Set a filter function to control what rune spawns. (Modify the table and Return true to use new values, return false to cancel the event)
;Example
function CDOTABaseGameMode:SetRuneSpawnFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetStashPurchasingDisabled

== Function Description ==
 void SetStashPurchasingDisabled(bool bDisabled) 
Turn purchasing items to the stash off/on. If purchasing to the stash is off the player must be at a shop to purchase items.
;Example
function CDOTABaseGameMode:SetStashPurchasingDisabled( bDisabled ) end
== Parameters ==
Type	Name 	Description
bool	bDisabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetStickyItemDisabled

== Function Description ==
 void SetStickyItemDisabled(bool bDisabled) 
Hide the sticky item in the quickbuy.
;Example
function CDOTABaseGameMode:SetStickyItemDisabled( bDisabled ) end
== Parameters ==
Type	Name 	Description
bool	bDisabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetTopBarTeamValue

== Function Description ==
 void SetTopBarTeamValue(int iTeam, int nValue) 
Set the team values on the top game bar.
== Parameters ==
Type	Name 	Description
int 	iTeam 	No Description Set
int 	nValue	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetTopBarTeamValuesOverride

== Function Description ==
 void SetTopBarTeamValuesOverride(bool bOverride) 
Override the values of the team values on the top game bar.
== Parameters ==
Type	Name 	Description
bool	bOverride	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetTopBarTeamValuesVisible

== Function Description ==
 void SetTopBarTeamValuesVisible(bool bVisible) 
Turning on/off the team values on the top game bar.
== Parameters ==
Type	Name 	Description
bool	bVisible	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetTowerBackdoorProtectionEnabled

== Function Description ==
 void SetTowerBackdoorProtectionEnabled(bool bEnabled) 
Enables/Disables tower backdoor protection
== Parameters ==
Type	Name 	Description
bool	bEnabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetTrackingProjectileFilter

== Function Description ==
 void SetTrackingProjectileFilter(handle hFunction, handle hContext) 
Set a filter function to control when tracking projectiles are launched. (Modify the table and Return true to use new values, return false to cancel the event)
;Example
function CDOTABaseGameMode:SetTrackingProjectileFilter( hFunction, hContext ) end
== Parameters ==
Type 	Name 	Description
handle	hFunction	No Description Set
handle	hContext 	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetUnseenFogOfWarEnabled

== Function Description ==
 void SetUnseenFogOfWarEnabled(bool bEnabled) 
Enable or disable unseen fog of war. When enabled parts of the map the player has never seen will be completely hidden by fog of war.
;Example
function CDOTABaseGameMode:SetUnseenFogOfWarEnabled( bEnabled ) end
== Parameters ==
Type	Name 	Description
bool	bEnabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetUseCustomHeroLevels

== Function Description ==
 void SetUseCustomHeroLevels(bool bEnabled) 
Turn on custom-defined XP values for hero level ups. The table should be defined before switching this on.
== Parameters ==
Type	Name 	Description
bool	bEnabled	No Description Set
Category:Dota2Function
Category:CDOTABaseGameMode
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.AddMinimapDebugPoint

== Function Description ==
 void AddMinimapDebugPoint(int int_1, Vector Vector_2, int int_3, int int_4, int int_5, int int_6, float float_7) 
Add a point on the minimap.
;Example
function CDOTAGamerules:AddMinimapDebugPoint( int_1, Vector_2, int_3, int_4, int_5, int_6, float_7 ) end
== Parameters ==
Type 	Name 	Description
int 	int_1 	No Description Set
Vector	Vector_2	No Description Set
int 	int_3 	No Description Set
int 	int_4 	No Description Set
int 	int_5 	No Description Set
int 	int_6 	No Description Set
float 	float_7 	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.AddMinimapDebugPointForTeam

== Function Description ==
 void AddMinimapDebugPointForTeam(int int_1, Vector Vector_2, int int_3, int int_4, int int_5, int int_6, float float_7, int int_8) 
Add a point on the minimap for a specific team.
;Example
function CDOTAGamerules:AddMinimapDebugPointForTeam( int_1, Vector_2, int_3, int_4, int_5, int_6, float_7, int_8 ) end
== Parameters ==
Type 	Name 	Description
int 	int_1 	No Description Set
Vector	Vector_2	No Description Set
int 	int_3 	No Description Set
int 	int_4 	No Description Set
int 	int_5 	No Description Set
int 	int_6 	No Description Set
float 	float_7 	No Description Set
int 	int_8 	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.EnableCustomGameSetupAutoLaunch

== Function Description ==
 void EnableCustomGameSetupAutoLaunch(bool bool_1) 
Enabled (true) or disable (false) auto launch for custom game setup.
;Example
function CDOTAGamerules:EnableCustomGameSetupAutoLaunch( bool_1 ) end
== Parameters ==
Type	Name 	Description
bool	bool_1	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.FinishCustomGameSetup

== Function Description ==
 void FinishCustomGameSetup() 
Indicate that the custom game setup phase is complete, and advance to the game.
;Example
function CDOTAGamerules:FinishCustomGameSetup( ) end
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.GetCustomGameTeamMaxPlayers

== Function Description ==
 int GetCustomGameTeamMaxPlayers(int int_1) 
Get whether a team is selectable during game setup
;Example
function CDOTAGamerules:GetCustomGameTeamMaxPlayers( int_1 ) end
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
== Returns ==
int - No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.GetDOTATime

== Function Description ==
 float GetDOTATime(bool bool_1, bool bool_2) 
(b IncludePregameTime b IncludeNegativeTime) Returns the actual DOTA in-game clock time.
;Example
function CDOTAGamerules:GetDOTATime( bool_1, bool_2 ) end
== Parameters ==
Type	Name 	Description
bool	bool_1	No Description Set
bool	bool_2	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.GetDroppedItem

== Function Description ==
 handle GetDroppedItem(int dropIndex) 
Gets the Xth dropped item
== Parameters ==
Type	Name 	Description
int 	dropIndex	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.GetGameSessionConfigValue

== Function Description ==
 string GetGameSessionConfigValue(string string_1, string string_2) 
Get a string value from the game session config (map options)
;Example
function CDOTAGamerules:GetGameSessionConfigValue( string_1, string_2 ) end
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
string	string_2	No Description Set
== Returns ==
string - No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.GetPlayerCustomGameAccountRecord

== Function Description ==
 table GetPlayerCustomGameAccountRecord(int int_1) 
(Preview/Unreleased) Gets the player's custom game account record, as it looked at the start of this session
;Example
function CDOTAGamerules:GetPlayerCustomGameAccountRecord( int_1 ) end
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
== Returns ==
table - No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.IsGamePaused

== Function Description ==
 bool IsGamePaused() 
Returns whether the game is paused.
;Example
function CDOTAGamerules:IsGamePaused( ) end
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.LockCustomGameSetupTeamAssignment

== Function Description ==
 void LockCustomGameSetupTeamAssignment(bool bool_1) 
Lock (true) or unlock (false) team assignemnt. If team assignment is locked players cannot change teams.
;Example
function CDOTAGamerules:LockCustomGameSetupTeamAssignment( bool_1 ) end
== Parameters ==
Type	Name 	Description
bool	bool_1	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.PlayerHasCustomGameHostPrivileges

== Function Description ==
 bool PlayerHasCustomGameHostPrivileges(handle handle_1) 
Whether a player has custom game host privileges (shuffle teams, etc.)
;Example
function CDOTAGamerules:PlayerHasCustomGameHostPrivileges( handle_1 ) end
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SendCustomMessage

== Function Description ==
 void SendCustomMessage(string message, int teamID, int unknown(1?)) 
Displays a line of text in the left textbox (where usually deaths/denies/buysbacks are announced). This function takes restricted HTML as input! (<br>,<u>,<font>)
== Parameters ==
Type 	Name 	Description
string	message 	No Description Set
int 	teamID 	No Description Set
int 	unknown(1?)	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SendCustomMessageToTeam

== Function Description ==
 void SendCustomMessageToTeam(string string_1, int int_2, int int_3, int int_4) 
Sends a message on behalf of a player to the specified team.
;Example
function CDOTAGamerules:SendCustomMessageToTeam( string_1, int_2, int_3, int_4 ) end
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
int 	int_2 	No Description Set
int 	int_3 	No Description Set
int 	int_4 	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCreepMinimapIconScale

== Function Description ==
 void SetCreepMinimapIconScale(float scale) 
Scale the creep icons on the minimap.
== Parameters ==
Type 	Name 	Description
float	scale	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameAccountRecordSaveFunction

== Function Description ==
 void SetCustomGameAccountRecordSaveFunction(handle handle_1, handle handle_2) 
(Preview/Unreleased) Sets a callback to handle saving custom game account records (callback is passed a Player ID and should return a flat simple table)
;Example
function CDOTAGamerules:SetCustomGameAccountRecordSaveFunction( handle_1, handle_2 ) end
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
handle	handle_2	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameDifficulty

== Function Description ==
 void SetCustomGameDifficulty(int int_1) 
Set the difficulty level of the custom game mode
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameEndDelay

== Function Description ==
 void SetCustomGameEndDelay(float delay) 
Sets the delay time until the game ends
;Example
-- Show the ending scoreboard immediately
GameRules:SetCustomGameEndDelay( 0 )
== Parameters ==
Type 	Name 	Description
float	delay	delay time in seconds
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameSetupAutoLaunchDelay

== Function Description ==
 void SetCustomGameSetupAutoLaunchDelay(float float_1) 
Set the amount of time to wait for auto launch.
;Example
function CDOTAGamerules:SetCustomGameSetupAutoLaunchDelay( float_1 ) end
== Parameters ==
Type 	Name 	Description
float	float_1	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameSetupRemainingTime

== Function Description ==
 void SetCustomGameSetupRemainingTime(float float_1) 
Set the amount of remaining time, in seconds, for custom game setup. 0 = finish immediately, -1 = wait forever
;Example
function CDOTAGamerules:SetCustomGameSetupRemainingTime( float_1 ) end
== Parameters ==
Type 	Name 	Description
float	float_1	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameSetupTimeout

== Function Description ==
 void SetCustomGameSetupTimeout(float float_1) 
Setup (pre-gameplay) phase timeout. 0 = instant, -1 = forever (until FinishCustomGameSetup is called)
;Example
function CDOTAGamerules:SetCustomGameSetupTimeout( float_1 ) end
== Parameters ==
Type 	Name 	Description
float	float_1	No Description Set
Category:Dota2Function
Category:CDOTAGamerules
Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameTeamMaxPlayers

== Function Description ==
 void SetCustomGameTeamMaxPlayers(int int_1, int int_2) 
Set whether a team is selectable during game setup
;Example
function CDOTAGamerules:SetCustomGameTeamMaxPlayers( int_1, int_2 ) end
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
int 	int_2	No Description Set
Category:Dota2Function
Category:CDOTAGamerules