Areatrigger scripts 548

From Project Skyfire
Jump to navigation Jump to search

Back to world database list of tables.

The `areatrigger_scripts` table

Allows for an area trigger to be scripted with SkyFire Script.

Structure

Field Type Attributes Key Null Default Extra Comment
entry mediumint(8) signed PRI NO NULL
ScriptName char(64) signed NO NULL


DB Structure

CREATE TABLE `areatrigger_scripts` (
	`entry` MEDIUMINT NOT NULL,
	`ScriptName` CHAR(64) NOT NULL COLLATE 'utf8_general_ci',
	PRIMARY KEY (`entry`) USING BTREE
)
COLLATE='utf8_general_ci'
ENGINE=MyISAM
;

Description of the fields

entry

This is the trigger identifier from AreaTrigger.dbc

ScriptName

The ScriptName for when scripting it in the core. This might also be 'SmartTrigger'. It will than use SmartAI