![]() While this means there are now new features to use in your scripts, some of old methods have been marked deprecated (and will be phased out in future Toribash releases) or had already been removed from public access. What you can do with Lua raycasting is create a raycastable body and then shoot rays to it to test it instead! This is essentially the same functionality as what Toribash uses for detecting joint clicks, now available through scripting.Īside from getting EmmyLua annotations, majority of system classes have been majorly reworked, both to increase performance and match more modern scripts' code style. What you'd probably do earlier is get the 2D position of object's coordinates and then do some manual calculations and guesswork on whether your click position is still within object bounds on screen - which is not always easy on rotated cubes or capsules. Say you want to create a clickable object in 3D world. In addition to replay hacking changes touched upon earlier, 5.60 introduces some other updates to Lua scripting: Fixed bug with menu resolution not updating after changing gui scale or game resolution.Fixed bug with mod triggers not working on instagib bodyparts and when grabbing env objects.Fixed bug with Kiai sounds not playing on match start.Fixed bug with item effects not being rendered in UI viewports.Fixed bug with special Toribash characters (!^%) not getting escaped in Login and Register screens. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |