Player COG Functions
Function List
SetInvActivated
SetInvActivated(Thing thing, int typeId, int bActivated)
SetInvAvailable
SetInvAvailable(Thing thing, int typeId, int bAvailable)
SetInvDisabled
SetInvDisabled(Thing thing, int typeId, int bDisabled)
IsInvActivated
IsInvActivated(Thing thing, int bin) -> int
IsInvAvailable
IsInvAvailable(Thing thing, int typeId) -> int
SetGoalFlags
SetGoalFlags(Thing thing, int bin, int flags)
ClearGoalFlags
ClearGoalFlags(Thing thing, int bin, int flags)
GetNumPlayers
GetMaxPlayers
GetAbsoluteMaxPlayers
GetAbsoluteMaxPlayers() -> int
GetLocalPlayerThing
GetLocalPlayerThing() -> int
GetPlayerThing
GetPlayerThing(int playerNum) -> int
GetPlayerNum
GetPlayerNum(Thing thing) -> int
PickupBackpack
PickupBackpack(Thing thing, Thing backpack)
CreateBackpack
CreateBackpack(Thing thing) -> int
NthBackpackBin
NthBackpackBin(Thing thing, int itemNum) -> int
NthBackpackValue
NthBackpackValue(Thing thing, int itemId) -> float
numbackpackitems
numbackpackitems(Thing thing) -> int
GetRespawnMask
GetRespawnMask(Thing thing) -> int
SetRespawnMask
SetRespawnMask(Thing thing, int mask)
SyncScores
GetCurItem
GetCurItem(Thing thing) -> int
JewelFlyingStatus
JewelFlyingStatus(int value, Thing plasma)
StartJewelFlying
StartJewelFlying() -> int
IsAiming
IsAiming(Thing thing) -> int
SetSwimmingInventory
SetSwimmingInventory(Thing thing, int bItemsAvailable)
StartInvisibility
EndInvisibility
IsInvisible
ResetInventory
ResetInventory(Thing thing)
MakeMeStop
IsItemFound
IsItemFound(int itemID) -> int
SetWhipElectric
SetWhipElectric(int bElectrict)
PlayerInPor
GetCutsceneMode
GetLastWeapon
MakeMeAPirate
Toggles Guybrush easter egg.
IMPStartFiring
IMPStartFiring(int fireType)
IMPEndFiring
IMPEndFiring(int fireType)