GetAreaNumber

From HEWIKI
Jump to: navigation, search

Contents

Get Area Number

GetAreaNumber() as ID

Arguments

None

Description

This is a server-side function which returns the area number (ID) of the current area. If called at the world level, it returns 0.

For more information see: Area Server

To obtain the area number on the client side, use the $BASECLIENT system node, such as $BASECLIENT._AreaID.

Example

// The below example would tell you the current area's ID
  number as ID
  number = GetAreaNumber()
  println("Number: "+number)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox