From 3dadcd2f56bab9ccab5c9924ef7111053f0832d2 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Tue, 30 Jul 2019 13:12:41 +0200 Subject: Update waypoints and scripts documentation (#102) --- docs/event_scripts.md | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) (limited to 'docs/event_scripts.md') diff --git a/docs/event_scripts.md b/docs/event_scripts.md index f62a3b7..5a9bba9 100644 --- a/docs/event_scripts.md +++ b/docs/event_scripts.md @@ -1,14 +1,23 @@ [Database Structure](Database-Structure) > [World-Database](World-Database) > [event_scripts](event_scripts) -Column | Type | Description ---- | --- | --- -Id | mediumint(8) unsigned | -Delay | int(10) unsigned | -Command | mediumint(8) unsigned | -Datalong | mediumint(8) unsigned | -Datalong2 | int(10) unsigned | -Dataint | int(11) | -X | float | -Y | float | -Z | float | -O | float | +# event\_scripts + +### Information + +Holds scripts activated whenever an event is activated, be it by an object or as the spell effect SPELL\_EFFECT\_SEND\_EVENT (61). + +### Structure + +| Field | Type | Attributes | Key | Null | Default | +|----------------------------------|--------------|--------------|-----|------|---------| +| [id](scripts#id) | mediumint(8) | unsigned | | NO | 0 | +| [delay](scripts#delay) | int(10) | unsigned | | NO | 0 | +| [command](scripts#command) | mediumint(8) | unsigned | | NO | 0 | +| [datalong](scripts#otherfields) | mediumint(8) | unsigned | | NO | 0 | +| [datalong2](scripts#otherfields) | int(10) | unsigned | | NO | 0 | +| [dataint](scripts#otherfields) | int(11) | | | NO | 0 | +| [x](scripts#otherfields) | float | | | NO | 0 | +| [y](scripts#otherfields) | float | | | NO | 0 | +| [z](scripts#otherfields) | float | | | NO | 0 | +| [o](scripts#otherfields) | float | | | NO | 0 | + -- cgit