-
Notifications
You must be signed in to change notification settings - Fork 7
Lua known issues
Jakub Baranowski edited this page Sep 6, 2021
·
1 revision
A list of known issues and potential improvements to game mode creation in Ground Branch.
When player respawns from the 'Out of action' screen:
- Whatever attribute of character controller that is returned by player.IsAlive(playerController) is not set to true,
- gamemode:PlayerCanEnterPlayArea(playerController) is not called
- gamemode:PlayerEnteredPlayArea(playerController) is not called
Fixes:
- Respawn from 'Out of action' screen should reset player controller attribute returned by player.IsAlive(playerController) to true.
- Before player enters Play Area PlayerCanEnterPlayArea should be checked.
- After player enters Play Area PlayerEnteredPlayArea should be called.
Fix: Respawn option should be availble for players in ready room in round base game modes the same way as it is for not round based game modes.
Currently there is no way to inspect users inventory. The userdata returned by player.GetInventory(playerController) is not usubale.
Minimum fix: Set the __tostring of items userdata to return the class name of the item it represents.