summaryrefslogtreecommitdiff
path: root/docs/areatrigger_scripts.md
diff options
context:
space:
mode:
authorWalter Pagani <paganiwalter@gmail.com>2021-01-06 14:35:07 -0300
committerGitHub <noreply@github.com>2021-01-06 18:35:07 +0100
commit6e12d64f0728ddcec447ee65d7a4ac81e9d3cba7 (patch)
tree7ce958ac43e28184ccdb8d662e826a6871898411 /docs/areatrigger_scripts.md
parent9075de0ff5cf803b10a1c461d97ec2ef61e9ec61 (diff)
downloadwiki-6e12d64f0728ddcec447ee65d7a4ac81e9d3cba7.tar.gz
wiki-6e12d64f0728ddcec447ee65d7a4ac81e9d3cba7.tar.bz2
wiki-6e12d64f0728ddcec447ee65d7a4ac81e9d3cba7.zip
docs: Converting from HTML to Markdown part #3 (#331)
Diffstat (limited to 'docs/areatrigger_scripts.md')
-rw-r--r--docs/areatrigger_scripts.md61
1 files changed, 17 insertions, 44 deletions
diff --git a/docs/areatrigger_scripts.md b/docs/areatrigger_scripts.md
index ab7a988..89bf584 100644
--- a/docs/areatrigger_scripts.md
+++ b/docs/areatrigger_scripts.md
@@ -8,50 +8,13 @@ Allows for an area trigger to be scripted with Trinity Script.
**Structure**
-<table>
-<colgroup>
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-</colgroup>
-<tbody>
-<tr class="odd">
-<td><p><strong>Field</strong></p></td>
-<td><p><strong>Type</strong></p></td>
-<td><p><strong>Attributes</strong></p></td>
-<td><p><strong>Key</strong></p></td>
-<td><p><strong>Null</strong></p></td>
-<td><p><strong>Default</strong></p></td>
-<td><p><strong>Extra</strong></p></td>
-<td><p><strong>Comment</strong></p></td>
-</tr>
-<tr class="even">
-<td><p><a href="#entry">entry</a></p></td>
-<td><p>mediumint(8)</p></td>
-<td><p>signed</p></td>
-<td><p>PRI</p></td>
-<td><p>NO</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p><a href="#scriptname">ScriptName</a></p></td>
-<td><p>char(64)</p></td>
-<td><p>signed</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-</tbody>
-</table>
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+|-----------------|--------------|------------|-----|------|---------|-------|---------|
+| [entry][1] | mediumint(8) | signed | PRI | NO | NULL | | |
+| [ScriptName][2] | char(64) | signed | | NO | NULL | | |
+
+[1]: #entry
+[2]: #scriptname
**Description of the fields**
@@ -63,3 +26,13 @@ This is the trigger identifier from [AreaTrigger.dbc](DBC-AreaTrigger)
The ScriptName for when scripting it in the core.
This might also be 'SmartTrigger'. It will than use [SmartAI](smart_scripts).
+
+### Examples
+
+| entry | ScriptName |
+|-------|-------------------|
+| 302 | at_sentry_point |
+| 962 | SmartTrigger |
+| 1447 | SmartTrigger |
+| 1526 | at_ring_of_law |
+| 1726 | at_scent_larkorwi |