SlashCo Wiki
Home
/
SlashCo.SetLobbyPlayerReadyState
SlashCo.SetLobbyPlayerReadyState
SlashCo
.SetLobbyPlayerReadyState(
Player
ply,
SlashCo.ReadyState
state )
Description
Sets the
SlashCo.ReadyState
of the given player
Arguments
1
Player
ply
Target player
2
SlashCo.ReadyState
state
New state
SlashCo Wiki
Basics
Basics
1
Adding a Difficulty
Wiki
2
Wiki Structure
Tests
Types
Lua Types
14
Angle
any
boolean
BUTTON_CODE
Color
CRecipientFilter
File
FSASYNC
Function
IGModAudioChannel
number
string
table
Vector
Lua
Game Systems
2
DTVar Networking
Fog
Globals
18
DrawItemSelectorBox
DrawTheGameInfoBox
DrawTheSlasherSelectorBox
GenDynLight
GetRandomMap
g_SlashCoDebug
HeadBob
HideSelection
SelectInfo
SlashCoMapAmbience
SlasherChosen
TEAM_LOBBY
TEAM_SLASHER
TEAM_SPECTATOR
TEAM_SURVIVOR
TranslateDangerLevel
TranslateSlasherClass
TylerSwitchForm
Libraries
3
SlashCo
SlashCo.Abort
SlashCo.AddDangerLevel
SlashCo.AddFog
SlashCo.AddLateSurvivor
SlashCo.AddOffering
SlashCo.AddSlasherAnger
SlashCo.AddSlasherClass
SlashCo.AllowSpectatorsToPing
SlashCo.ApplySlasherToPlayer
SlashCo.AssembleWeightedTable
SlashCo.AssignSlasher
SlashCo.AwaitExpectedPlayers
SlashCo.BanSlasher
SlashCo.Blur
SlashCo.BroadcastAnnouncement
SlashCo.BroadcastCurrentRoundData
SlashCo.BroadcastGlobalData
SlashCo.BroadcastOfferingVote
SlashCo.BustDoor
SlashCo.BuyPerk
SlashCo.CanEatPizza
SlashCo.CanEquipPerk
SlashCo.CanSeePing
SlashCo.CanSpectatorsPing
SlashCo.ChangeMap
SlashCo.ChangeSurvivorItem
SlashCo.ChatText
SlashCo.ClearDatabase
SlashCo.CopyColor
SlashCo.CreateDocument
SlashCo.CreateDocumentsDB
SlashCo.CreateGasCan
SlashCo.CreateHelicopter
SlashCo.CreateItem
SlashCo.CreateItemStash
SlashCo.CreateOfferTable
SlashCo.CreateRadio
SlashCo.Dampen
SlashCo.DangerLevel
SlashCo.DebugPrint
SlashCo.DefaultConditions
SlashCo.DefaultConditionsForced
SlashCo.DefaultConditionsNonForced
SlashCo.DisableAlarmLights
SlashCo.DisableGlobalFog
SlashCo.DisablePerk
SlashCo.DisableSoundScapes
SlashCo.DrawHalo
SlashCo.DropAllItems
SlashCo.DropItem
SlashCo.EnableAlarmLights
SlashCo.EnableGlobalFog
SlashCo.EnablePerk
SlashCo.EnableSoundScapes
SlashCo.EndOfferingVote
SlashCo.EndRound
SlashCo.EntityExists
SlashCo.EscapeVoicePrompt
SlashCo.ExperienceToLevel
SlashCo.FailOptionalObjectives
SlashCo.FillTableWithFogInfo
SlashCo.FindItemWithField
SlashCo.FindMapWorkshopID
SlashCo.FindPlayersInRange
SlashCo.FindSlashCoAddons
SlashCo.FindSlasherWorkshopID
SlashCo.FindSpawn
SlashCo.FindWorkshopID
SlashCo.FlashWindows
SlashCo.ForceNewSlasherSelection
SlashCo.GameContentChanged
SlashCo.GasCansPerGenerator
SlashCo.GetActivePerks
SlashCo.GetAddons
SlashCo.GetBannedSlashers
SlashCo.GetClassColor
SlashCo.GetConsumableEffectDuration
SlashCo.GetCurrentFogMultiplier
SlashCo.GetDangerColor
SlashCo.GetDangerSound
SlashCo.GetDefaultKey
SlashCo.GetDocumentRating
SlashCo.GetDocumentTable
SlashCo.GetEffectTable
SlashCo.GetFoodHealMultiplier
SlashCo.GetGasCansPerGenerator
SlashCo.GetGasCansToSpawn
SlashCo.GetGeneratorsNeeded
SlashCo.GetGeneratorsToSpawn
SlashCo.GetGlobalFogColor
SlashCo.GetGlobalSlasherAnger
SlashCo.GetHighestSlasherAnger
SlashCo.GetItemByEntity
SlashCo.GetItemTable
SlashCo.GetKeyButton
SlashCo.GetKeyButtonName
SlashCo.GetLobbyPlayerReadyState
SlashCo.GetMapSize
SlashCo.GetNameColor
SlashCo.GetOwnedPerks
SlashCo.GetPerk
SlashCo.GetPerks
SlashCo.GetPlayerPingDelay
SlashCo.GetRandomSlasher
SlashCo.GetRoundStartTime
SlashCo.GetRoundTime
SlashCo.GetSlasherAnger
SlashCo.GetSlasherTable
SlashCo.GetSlasherTableByID
SlashCo.GetSpectatableSet
SlashCo.GetWeightedRandom
SlashCo.GoToLobby
SlashCo.HasDocument
SlashCo.HelicopterFinalLeave
SlashCo.HelicopterGoAboveLand
SlashCo.HelicopterLand
SlashCo.HelicopterLeaveForIntro
SlashCo.HelicopterRadioVoice
SlashCo.HelicopterTakeOff
SlashCo.HelicopterTakeOffIntro
SlashCo.InitMapMesh
SlashCo.IsActivePerk
SlashCo.IsDoorOpen
SlashCo.IsGlobalFogDisabled
SlashCo.IsKeyPressed
SlashCo.IsLobbyPlyOfferer
SlashCo.IsLobbyStarting
SlashCo.IsPositionLegalForSlashers
SlashCo.IsQuickEscape
SlashCo.IsSlasherBanned
SlashCo.IsSlowEscape
SlashCo.IsValidDoor
SlashCo.ItemPickUp
SlashCo.Jumpscare
SlashCo.KeyboardBindsToString
SlashCo.Language
SlashCo.LegacySetup
SlashCo.LevelToPPs
SlashCo.LoadCurRoundData
SlashCo.LoadDocuments
SlashCo.LoadFileFromAddons
SlashCo.LoadGamemodeFile
SlashCo.LoadItemPatches
SlashCo.LoadItems
SlashCo.LoadKeyboardBinds
SlashCo.LoadLanguage
SlashCo.LoadMapConfigs
SlashCo.LoadPerks
SlashCo.LoadSlasherPatches
SlashCo.LoadSlashers
SlashCo.LobbyBanter
SlashCo.LobbyBriefingTransition
SlashCo.LobbyBroadcastInfo
SlashCo.LobbyEvelatorTransition
SlashCo.LobbyFinish
SlashCo.LobbyLeave
SlashCo.LobbyOpenItems
SlashCo.LobbyPlayerBriefing
SlashCo.LobbyRoundData
SlashCo.LobbyRoundSetup
SlashCo.LobbyVendorVoice
SlashCo.LocalizedTraceHullLocator
SlashCo.LocalizedTraceHullLocatorAdvanced
SlashCo.MapSize
SlashCo.MapSizeExact
SlashCo.MarkLobbyStarting
SlashCo.MaxVec
SlashCo.MinVec
SlashCo.NetworkPings
SlashCo.OfferingVote
SlashCo.OfferingVoteFail
SlashCo.OfferingVoteFinished
SlashCo.OfferingVoteSuccess
SlashCo.OnBalanceForPlayers
SlashCo.OnSlasherSpawned
SlashCo.OpenKeyboardUI
SlashCo.OpenPlayermodelSelector
SlashCo.OwnsPerk
SlashCo.ParseKeyboardBinds
SlashCo.PlayerPickedLobbySlasher
SlashCo.PlayGlobalSound
SlashCo.PrecacheItem
SlashCo.PrecacheModel
SlashCo.PrecacheSlasher
SlashCo.PrecacheSound
SlashCo.PrepareSlasherForSpawning
SlashCo.QuietHeli
SlashCo.RadialTester
SlashCo.RandomPosLocator
SlashCo.ReadOptional
SlashCo.ReadSound
SlashCo.RefundSurvivorItems
SlashCo.RegisterAddon
SlashCo.RegisterDocument
SlashCo.RegisterEffect
SlashCo.RegisterItem
SlashCo.RegisterPerk
SlashCo.RegisterSlasher
SlashCo.RemoveAllCurRoundEnts
SlashCo.RemoveFog
SlashCo.RemoveHelicopter
SlashCo.RemoveItem
SlashCo.RemoveObjective
SlashCo.ResetCurRoundData
SlashCo.ResetLobby
SlashCo.ResetLobbyData
SlashCo.RoundBeginTimer
SlashCo.RoundOverScreen
SlashCo.SaveKeyboardBinds
SlashCo.SelectSlasher
SlashCo.SelectSpawns
SlashCo.SelectSpawnsNoForce
SlashCo.SendObjectives
SlashCo.SendValue
SlashCo.SendValueOmit
SlashCo.SetGasCansToSpawn
SlashCo.SetGeneratorsNeeded
SlashCo.SetGeneratorsToSpawn
SlashCo.SetGlobalFogColor
SlashCo.SetHelicopterPositions
SlashCo.SetLightStyle
SlashCo.SetLobbyPlayerReadyState
SlashCo.SetMapSize
SlashCo.SetRoundStartTime
SlashCo.SettingsEntity
SlashCo.SetupExpectedPlayersFailsafe
SlashCo.SetupLanOverrides
SlashCo.SetupPlayers
SlashCo.SinglePlayerSetup
SlashCo.SlasherClass
SlashCo.Spawn
SlashCo.SpawnDocuments
SlashCo.SpawnGasCans
SlashCo.SpawnGenerators
SlashCo.SpawnItems
SlashCo.SpawnPlayerAsSlasher
SlashCo.SpawnSlasher
SlashCo.SQLTableToLuaTable
SlashCo.StartChaseMode
SlashCo.StartGameIntro
SlashCo.StartRound
SlashCo.State
SlashCo.StopChase
SlashCo.SummonEscapeHelicopter
SlashCo.SurvivorWinFinish
SlashCo.TraceHullLocator
SlashCo.TranslateBind
SlashCo.TriggerBlackout
SlashCo.UnbanSlasher
SlashCo.UpdateHelicopterSeek
SlashCo.UpdateObjective
SlashCo.UseItem
SlashCo.WriteOptional
SlashCo.AudioSystem
SlashCo.AudioSystem.CalculateTime
SlashCo.AudioSystem.CheckChannels
SlashCo.AudioSystem.CreateChannel
SlashCo.AudioSystem.DestroyChannel
SlashCo.AudioSystem.DisableBackgroundMusic
SlashCo.AudioSystem.EffectThink
SlashCo.AudioSystem.EnableBackgroundMusic
SlashCo.AudioSystem.EnsureValidVolume
SlashCo.AudioSystem.FadeSound
SlashCo.AudioSystem.FadeToPlaybackRate
SlashCo.AudioSystem.FadeToVolume
SlashCo.AudioSystem.GetBackgroundMusic
SlashCo.AudioSystem.GetBackgroundMusicPlaybackRate
SlashCo.AudioSystem.GetBackgroundMusicTime
SlashCo.AudioSystem.GetBackgroundMusicVolume
SlashCo.AudioSystem.GetBackgroundMusicVolumeControlled
SlashCo.AudioSystem.GetChannelByIdentifier
SlashCo.AudioSystem.GetChannelID
SlashCo.AudioSystem.GetEntityChannels
SlashCo.AudioSystem.GetPrecachedChannel
SlashCo.AudioSystem.GetRegisteredSound
SlashCo.AudioSystem.GetSoundFileFromSource
SlashCo.AudioSystem.Init
SlashCo.AudioSystem.NukeChannels
SlashCo.AudioSystem.ParentChannelToEntity
SlashCo.AudioSystem.PlayBackgroundMusic
SlashCo.AudioSystem.PlayPrecachedChannel
SlashCo.AudioSystem.PlaySound
SlashCo.AudioSystem.PrecacheSound
SlashCo.AudioSystem.RegisterSound
SlashCo.AudioSystem.SetBackgroundMusic
SlashCo.AudioSystem.SetBackgroundMusicPlaybackRate
SlashCo.AudioSystem.SetBackgroundMusicVolume
SlashCo.AudioSystem.SetChannelIdentifier
SlashCo.AudioSystem.SetGroupVolume
SlashCo.AudioSystem.ShouldPlayBackgroundMusic
SlashCo.AudioSystem.StopBackgroundMusic
SlashCo.AudioSystem.StopSound
SlashCo.AudioSystem.TimeToTick
SlashCo.AudioSystem.ToSound
SlashCo.MapTools
SlashCo.MapTools.IsEnabled
SlashCo.MapTools.Redo
SlashCo.MapTools.SetEntityAngle
SlashCo.MapTools.SetEntityPosition
SlashCo.MapTools.SetEntityPositionAndAngle
SlashCo.MapTools.Undo
Hooks
24
scValue_[message]
SlashCoItemPickUp
SlashCo:AudioSystem:PlaySound:[group]
SlashCo_DoorClose
SlashCo_DoorOpen
SlashCo:DrawHUD
SlashCo:EndRound
SlashCo:GameContentChanged
SlashCo:HelicopterLanded
SlashCo:LanguageChanged
SlashCo:OnAngerTick
SlashCo:OnBeerKegExplode
SlashCo:OnDeathWardUsed
SlashCo:OnObjectiveComplete
SlashCo:OnPing
SlashCo:OnRoundStarted
SlashCo:PlayerDeath
SlashCo:Precache
SlashCo:PrePlayerDeath
SlashCo:RegisterAddons
SlashCo:SelectOffering
SlashCo:ServerEntityRemoved
SlashCo:SetupLobbyEntities
SlashCo:UnselectOffering
Classes
2
Entity
Entity:LocalRandomPosition
Entity:PlayGlobalSound
Entity:RandomTeleport
Entity:StopAllGlobalSounds
Entity:StopSound
Player
Player:AddEffect
Player:AddRoundPoints
Player:AddSpeedEffect
Player:CanBeSeen
Player:CanSeeFlashlights
Player:ChatText
Player:ClearEffect
Player:ClearEffects
Player:EffectFunction
Player:FindPlayersInView
Player:GetInventory
Player:GetItem
Player:GetRoundPoints
Player:GetRoundPointsKeys
Player:GetSlasherChance
Player:GetTotalRoundPoints
Player:GetUnlockedContent
Player:GiveDocument
Player:HasItem
Player:IsStuck
Player:IsVisible
Player:ItemFunction
Player:ItemFunctionInternal
Player:ItemFunctionOrElse
Player:ItemValue
Player:LoadDocuments
Player:NetworkDocument
Player:NetworkDocuments
Player:PerkValue
Player:PlayDamageSound
Player:RemoveRoundPointsKey
Player:RemoveSpeedEffect
Player:RevokeDocument
Player:SecondaryItemFunction
Player:SecondaryItemFunctionOrElse
Player:SetImpervious
Player:SetItem
Player:SetRoundPoints
Player:SetSlasherChance
Player:SetUnlockedContent
Player:SetupHands
Player:SlamDoor
Player:SlasherFunction
Player:SlasherHudFunc
Player:SlasherIsStunDeaf
Player:SlasherStunDeafen
Player:SlasherValue
Player:StackedItemValue
Player:SurvivorPing
Player:TakeDamageWithEffect
Player:UpdateSpeed
DataTable
27
Player:GetActiveEffects
Player:GetCanSeeFlashlights
Player:GetCanSeePlayers
Player:GetDeafenTime
Player:GetExperience
Player:GetEyeSight
Player:GetPerception
Player:GetPickedSlasher
Player:GetPoints
Player:GetSlasherRoundsWon
Player:GetSurvivorRoundsWon
Player:GetVisible
Player:GetWasSeenBySlasher
Player:SetActiveEffects
Player:SetCanSeeFlashlights
Player:SetCanSeePlayers
Player:SetDeafenTime
Player:SetExperience
Player:SetEyeSight
Player:SetOwnedPerks
Player:SetPerception
Player:SetPickedSlasher
Player:SetPoints
Player:SetSlasherRoundsWon
Player:SetSurvivorRoundsWon
Player:SetVisible
Player:SetWasSeenBySlasher
Structs
12
SlashCo.CurRound
Document
EFFECT
FogInfo
GameData
ITEM
SlashCo.LobbyData
Objective
OFFERING
PERK
SLASHER
SoundData
ConVars
17
slashco_bannedslashers
slashco_blockbinds
slashco_cl_disable_headbob
slashco_cl_disable_pp
slashco_cl_playermodel
slashco_cl_show_healthvalue
slashco_cl_show_lowhealth
slashco_force_difficulty
slashco_lobbyleavedelay
slashco_maxplayers
slashco_max_bhop_speed
slashco_playerpingdelay
slashco_proximity_chat
slashco_proximity_range
slashco_proximity_voice
slashco_tyler_disable_shake
slashco_tyler_endless_chase_music
Commands
31
slashco_announcement
slashco_banslasher
slashco_become_slasher
slashco_become_survivor
slashco_debug_changemap
slashco_debug_datatest_delete
slashco_debug_datatest_error
slashco_debug_datatest_makedummy
slashco_debug_datatest_read
slashco_debug_itempicker
slashco_debug_jugtele
slashco_debug_lobbybot
slashco_debug_lobbybot_enterhelicopter
slashco_debug_lobbybot_readyslasher
slashco_debug_lobbybot_readysurvivor
slashco_debug_printbats
slashco_debug_printents
slashco_debug_run_curconfig
slashco_debug_run_survivor
slashco_give_item
slashco_give_points
slashco_maptool_applybriefingscreen
slashco_maptool_applydocumentscreen
slashco_maptool_redo
slashco_maptool_setbriefingscreen
slashco_maptool_setdocumentscreen
slashco_maptool_undo
slashco_openkeyboardbinds
slashco_run_curconfig
slashco_unbanslasher
slashco_unstuck
Enums
8
SlashCo.DifficultyLevel
SlashCo.FogType
SlashCo.Gamemode
SlashCo.HelicopterVoices
SlashCo.ObjStatus
SlashCo.ReadyState
SlashCo.RoundState
SlashCo.States