WorldProjection
class WorldProjection : Entity()on_input<DeveloperCommandInput> { player -> if (name != "board") return@on_input val boat = World.spatial.projectionsWithin(player.tile4.tile, radius = 10, shard = player.shardId).firstOrNull() ?: return@on_input player.message("No boat nearby.") player.board(boat) player.message("You board. ${boat.riders.size} aboard.")}wireId
Section titled “wireId”val wireId: Intriders
Section titled “riders”val riders: List<Actor>despawn
Section titled “despawn”fun despawn()fun from( definition: rift.scripting.ProjectionDefinition, tile: rift.world.Tile4, angle: Int = 0): WorldProjection
fun from( definition: rift.scripting.ProjectionDefinition, tile: rift.scripting.Point, angle: Int = 0): WorldProjectioncreate
Section titled “create”fun create( tile: rift.world.Tile4, angle: Int = 0): WorldProjection
fun create( tile: rift.scripting.Point, angle: Int = 0): WorldProjectionInherited members
Section titled “Inherited members”Entity:uuid//isAlive//addComponent//replaceComponent//findComponent//getComponent//removeComponent//hasComponent//decommission//resetLook//allComponents//resolve