AreaAttemptedConnections

From HEWIKI
Jump to: navigation, search

Contents

Area Attempted Connections

AreaAttemptedConnections(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

Fills out the lists with pairs of areaNumber and areaInstance for all the areas that are currently starting up. 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
  AreaAttemptedConnections(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 starting up.")
    .
  .
.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox