DestroyPersistentObject(persistentObjectId)
Description
Syntax
DestroyPersistentObject(persistentObjectId)Argument
Description
Returns
N/AExample Implementation
//Get the ball first (assuming you dont know its POid)
var ballPOid = -1;
with(oPersistentObject){
if(persistentObjectProperties.type == "ball"){
ballPOid = persistentObjectId
}
}
DestroyPersistentObject(ballPOid)PreviousEditPersistentObject(persistentObjectId , new_persistentObjectStruct)NextShowPersistentObjectsInRoom(room_name)
Last updated