Skip to content
Jakub Baranowski edited this page Dec 12, 2021 · 4 revisions

player

ShowGameMessage (Player, Message, Duration)

IsAlive (Player)

GetLives (Player)

SetAllowedToRestart (Player, Allowed)

SetInsertionPoint (Player, NewInsertionPoint)

ShowWorldPrompt (Player, Location, Tag, Duration)

GetPlayerState (Player)

GetInsertionPoint (Player)

GetInventory (Player)

GiveItem (Player, Item)

Parameters:

  • Player Player player that you want to give the item to.
  • Item string path to the class of an item you want to give to the player.

Note that the item path starts at the 'Game' directory, but as far as I understand that is equivalent to the '/GroundBranch/Content' directory. So for example if you want to give the player an MK25 you would use path '/Game/GroundBranch/Inventory/Sidearm/MK25/BP_MK25.BP_MK25_C' even though the BP_MK25 files reside in '/Content/GroundBranch/Inventory/Sidearm/MK25/'

HasItemWithTag (Player, Tag)

FreezePlayer (Player, Duration)

GetCharacter (Player)

SetLives (Player, NewLives)

Untested

SetReadyStatus

GetReadyStatus

AddIgnoreUseInputReason

RemoveIgnoreUseInputReason

ClearAllIgnoreUseInputReasons

GetName

New in 1032

ShowHint

New in 1032

SetAlertLevel

New in 1032

GetPlayerStat

New in 1032

ResetPlayerScores

New in 1032

AwardPlayerScore

New in 1032