From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/areatrigger_scripts.md | 69 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 64 insertions(+), 5 deletions(-) (limited to 'docs/areatrigger_scripts.md') diff --git a/docs/areatrigger_scripts.md b/docs/areatrigger_scripts.md index de038a1..f58ddfa 100644 --- a/docs/areatrigger_scripts.md +++ b/docs/areatrigger_scripts.md @@ -1,6 +1,65 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [areatrigger_scripts](areatrigger_scripts) +# areatrigger\_scripts -Column | Type | Description ---- | --- | --- -Entry | mediumint(8) | -ScriptName | char(64) | +`Back-to:World` + +**The \`areatrigger\_scripts\` table** + +Allows for an area trigger to be scripted with Trinity Script. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

entry

mediumint(8)

signed

PRI

NO

NULL

 

 

ScriptName

char(64)

signed

 

NO

NULL

 

 

+ +**Description of the fields** + +### entry + +This is the trigger identifier from [AreaTrigger.dbc](http://collab.kpsn.org/display/tc/AreaTrigger) + +### ScriptName + +The ScriptName for when scripting it in the core. +This might also be 'SmartTrigger'. It will than use [SmartAI](http://collab.kpsn.org/display/tc/smart_scripts). -- cgit