ShutdownAreaServer

From HEWIKI
Jump to: navigation, search

ShutdownAreaServer(areaID as ID, areaInstanceNumber as ID) as Boolean

Arguments

<areaID> 
The area ID to be shut down.
<areaInstanceNumber> 
The instance ID to be shut down

Description

This function serves to shutdown an instance of an area immediately.

Works only at the world server level. Immediately fails if the area isn't spun up

For more information see: Area Server

Example

// The below example would tell the world server to shut down the specified instance
if(GetAreaNumber() = 0 and GetInstanceNumber() = 0) // Are we at the world level
  ShutdownAreaServer(areaID, areasInstanceNumber)
.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox