Area Connections

From HEWIKI
Jump to: navigation, search

Contents

Area Connections

AreaConnections(areaList as List of ID, instanceList as List of ID)

Arguments

<areaList> 
A returned list of IDs of all areas being spun up.
<instanceList> 
A returned list of IDs of instances being spun up

Description

Generates information on every single instance that's currently in the game. Fills out the lists with pairs of areaNumber and areaInstance for all the connected (spun up) areas. Only works at the world server level.

For more information see: Area Server

Example

// The below example would tell you all areas starting up
if(GetAreaNumber() = 0 and GetInstanceNumber() = 0) // Are we at the world level
  AreaConnections(areaNumber references list of id, areaInstance references list of id)
  name as string
  foreach area in areaNumber
    name = GetAreaName(area)
    foreach instance in areaInstance
      println("Instance: "+instance+" of "+name+" is currently running.")
    .
  .
.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox