LaunchEditServer

From HEWIKI
Jump to: navigation, search

LaunchEditServer(areaID as ID) as Boolean

Arguments

<areaID> 
The ID of the Area in which to have an Edit instance spun up.

Description

Spins up a new (if it is not already running), Edit Instance of the specified areaID. Returns true on success, false on failure

This can only be done in the World Area Instance, meaning Area 0, Instance 0. The World Server is responsible for starting up all areas.


Example

// The below example would tell the world server to start up the edit Instance of a given Area by ID
if(GetAreaNumber() = 0 and GetInstanceNumber() = 0) // Are we at the world level
  var success = LaunchEditServer(areaID)
.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox