EditPersistentObject(persistentObjectId , new_persistentObjectStruct)
Description
This function edits a persistent object after you provide its ID.
Syntax
Argument | Description |
---|---|
| The ID of the persistent object. (this is RNet's Per. Obj. ID, not GM instance or GM object ID) This must be a Number. |
new_ | The edited properties of the persistent object. This must be a Struct with all the properties in key-value form. |
Returns
Example Implementation
This requests the server to edit the ball's properties, and is likewise updated on everyone else's screen.
Last updated