NodeScripts
object NodeScriptson_world_start { val script = "oat/player.rift" if (NodeScripts.classOf(script) == null) return@on_world_start Logger.warn("$script is not built") NodeScripts.assignPlayer(NodeRef(scene = "lumbridge", id = 1L), script)}classOf
Section titled “classOf”fun classOf(script: String): String?assignPlayer
Section titled “assignPlayer”fun assignPlayer( node: NodeRef, script: String)clearPlayer
Section titled “clearPlayer”fun clearPlayer()