Health and Ease-of-Scripting Update
Forum ... Announcements Topic
Search | 2:55pm
for starters, **THIS UPDATE IS LIVE RIGHT NOW**
let's go over all of the things included in this update:
- SCRIPTING IMPROVEMENTS
---> new `RunOnServer()` and `RunOnClient()` functions to make networking REALLY easy!!
---> new `replicated` property on objects! a non-static, non-replicated object is a new concept of "local objects" that exist only on one client and don't replicate to others. you can create one during runtime with `CreateLocalEmptyObject()`
---> colliders have a new property for `isTrigger` which makes it not collidable, but still send lua `OnTouch` events
---> fixed other clients Characters not sending `OnTouch` events to your client!
---> the script component now has a dropdown to choose your script instead of a text field
---> you can create scripts from inside the builder now
---> links to the documentation site and tutorial site are in the builder now
---> buttons to choose a custom script editor
- HEALTH FEATURE
---> all Characters now have health! this can be accessed in lua with `health` and `maxHealth`
---> all Characters also have shields! this is a second health bar that can be accessed in lua with `shields` and `maxShields`
---> new `god` property for Characters that blocks all damage
---> new `dead` property, and `alive` now works
---> new lua functions: `Kill()`, `Damage()`, `Heal()`
---> new World Settings for health regen, shields regen, and whether or not to hide the healthbar
---> new World Setting for "hide name behind walls"
---> World Settings now have a dedicated section in the documentation website!
---> your local client's nametag is no longer visible. you do have health, but it's at the top of your screen instead of in the middle of your screen and in your way
---> Characters can now "die" and fall apart into voxel pieces. the voxel pieces will slowly disappear after the Player respawns
---> hover over a Character's nametag to show their #username, and their health if it's hidden.
This topic is closed and additional responses are disabled.