Meta accounts are here: you can create a Meta account to log into VR devices. Learn more

CHECK IF OWNED BY PLAYER

The ‘server player’ value is a player value that identifies the server. It can be used to check if an object is owned by the server or by a player. And also used to transfer ownership back to the server. As an example, you may only want an object to follow a player if a player owns the object. In a world start event, if owner of self does not equal server player, then send the follow event. You may also want to hide the following object if the object is not owned by a player. In a world start event, If owner of self is equal to server player, set visibility of creature to false.

PREREQUISITE READING

VARIABLE PERSISTENCE precedes this tutorial


Seen above is the script used to follow a player.

Next Up