For the complete documentation index, see llms.txt. This page is also available as Markdown.

WarriorsLib.getPlayerName

WarriorsLib.getPlayerName(player)

Return the PlayerName of the given Player.

return value

name of player

dbg.stm(WarriorsLib.getPlayerName(1)..", you are ".. (WarriorsLib.isHuman(1) == 1 and "a Human" or "an AI"))

Last updated