2021-11-26 4 分钟 0.6 k0 次访问
饥荒联机版控制台代码大全
玩家命令
1 2 ThePlayer:EnableMovementPrediction(true )
1 2 ThePlayer.components.builder:GiveAllRecipes()
1 2 ThePlayer.components.health:SetMaxHealth(value)
1 2 ThePlayer.components.sanity:SetMax(value)
1 2 ThePlayer.components.hunger:SetMax(value)
1 2 ThePlayer.components.hunger:Pause(true )
1 2 ThePlayer.components.combat.damagemultiplier = value
1 2 ThePlayer.components.beaverness:SetPercent(.01 )
其他玩家命令
1 2 3 4 5 6 for k,v in pairs (AllPlayers) do command end
1 2 c_move(AllPlayers[number])
1 2 AllPlayers[number]:PushEvent('death' )
1 2 AllPlayers[number]:PushEvent('respawnfromghost' )
1 2 c_goto(AllPlayers[number])
1 2 AllPlayers[number].components.inventory:DropEverything()
1 2 3 4 5 c_despawn(AllPlayers[number])
1 2 3 4 5 AllPlayers[5 ]:PushEvent('death' )
1 2 3 4 UserToPlayer('PlayerA' ):PushEvent('death' )
世界命令