You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enums
Added PlayerInfoArea
Added PlayerInfoColorTypes
Added SpawnableTeamType
Commands
Added new command for clearing any event registrations by player in RA clrLuaEvents playerUsername.
Player
Added InfoArea flags
Added CustomInfo string
Added InfoViewRange
Added readonly DoNotTrack boolean
Added Vector3 player scale
Improved AimingPoint variable raycast start position, so it shouldnt hit the player
Added a table SessionVariables for storing temporary data across all scripts for each player.
Players
Added indexer for retrieving all players with specified RoleTypeId.
Added indexer for retrieving all players with specified Team.
Player Effects
Added get only ActiveEffects array of strings of currently active effects.
Player Role
Added SetFakeRole(RoleTypeId)
Damage Handler
Added readonly Reason property
Round
Added RespawnWave(SpawnableTeamType)
Added InstantRespawnWave(SpawnableTeamType)
Misc
Removed the requirement for ExecuteConsoleCommands permissions in order to execute Lua. Only specifying the player steam ID in config file is now required.
Bug Fixes
Fixed Lua events not unregistering if they were registered via RA and the player left.