Instance template SF

From Project Skyfire
Revision as of 14:45, 6 July 2012 by Cheapgamer (talk | contribs) (Created page with "{| align="right" |- | __TOC__ |} Category: SkyFire World database tables {{Back-to:World}} <br> <big>'''The `instance_template` table'''</big> This table has all the t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to world database list of tables.


The `instance_template` table

This table has all the templates for every instance. When a group enters an instance, a new copy of that instance is made from the values in these fields.

If you want to change the spot you will start in when you enter/leave an instance, go to areatrigger_teleport


Structure

Field Type Attributes Key Null Default Extra Comment
map int(10) unsigned NO NULL
parent bigint(10) unsigned NO 0
script varchar(128) signed NO NULL
allowMount tinyiny(1) signed NO 0


Description of the fields

map

The map ID of the instance. See Maps.dbc

parent

If the instance is a subinstance of another instance, this field has the parent instance's map ID.

script

The name of the instance script that the instance will use and apply (if any).

allowMount

0 = you can enter on mount and will not get dismounted on enter

1 = you can't enter on mount and get dismounted on enter