Skip to content

world_state

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
IDintsignedPRINO
DefaultValueintsignedNO
MapIDsvarchar(128)YESNULL
AreaIDsvarchar(255)YESNULL
ScriptNamevarchar(64)NO''
CommenttextYESNULL

 

Description of fields ​

ID ​

Unique identifier of the world state
 

DefaultValue ​

Default value of the world state
 

MapIDs ​

MapIDs where the worldstate should be active (comma separated: mapId1,mapId2)
Using NULL as MapID means its active realmwide (= in every map).
Using -1 as MapID marks it as allowed on ALL maps but should be bound to a map.
References to: Map.db2
 

AreaIDs ​

AreaIDs where the worldstate should be active (comma separated: areaId1,areaId2)
Using NULL means its active in every area of the provided MapIDs.
References to: AreaTable.db2
 

ScriptName ​

ScriptName for a WorldStateScript
 

Comment ​

Comment describing the world state