2024r176 Ex1 to 2024r176 Ex2
Table of Contents
Section titled “Table of Contents”Breaking Changes
Section titled “Breaking Changes”IsLocal -> IsWornByMe
Section titled “IsLocal -> IsWornByMe”- Description: The
IsLocalglobal was causing a lot of confusion. So it was renamed toIsWornByMe - Usage:
if RunningInAvatar thenprint('This script is running on an Avatar!')if IsWornByMe thenprint('And is being worn by me!!!')endend
Bug Fixes
Section titled “Bug Fixes”- Fixed the global variable
IsSpawnedByMe, it should now work properly on props
New Features
Section titled “New Features”AvatarAPI.LocalAvataris now available globally as a way to get a reference to the Local Player worn Avatar instanceWeareris now available as Avatar property. It returns the Player of the Avatar’s wearer
IsFriendsWith(string userId)method is now available on PlayerAPIIsFlyingproperty is now available on LocalPlayerSetPositionandSetRotationmethods are now available on LocalPlayerTeleportPlayerTomethod with a Quaternion rotation target is now available on LocalPlayer