diff options
| author | Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> | 2019-07-30 13:12:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-30 13:12:41 +0200 |
| commit | 3dadcd2f56bab9ccab5c9924ef7111053f0832d2 (patch) | |
| tree | 0cf4238e86ca49abc89b12b805e40f6cec576196 /docs/waypoint_scripts.md | |
| parent | 1610205aa4746ac8cf1fd7cbb30f6c8bfcd8de2b (diff) | |
| download | wiki-3dadcd2f56bab9ccab5c9924ef7111053f0832d2.tar.gz wiki-3dadcd2f56bab9ccab5c9924ef7111053f0832d2.tar.bz2 wiki-3dadcd2f56bab9ccab5c9924ef7111053f0832d2.zip | |
Update waypoints and scripts documentation (#102)
Diffstat (limited to 'docs/waypoint_scripts.md')
| -rw-r--r-- | docs/waypoint_scripts.md | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/docs/waypoint_scripts.md b/docs/waypoint_scripts.md index ba36330..bcb57b5 100644 --- a/docs/waypoint_scripts.md +++ b/docs/waypoint_scripts.md @@ -1,15 +1,26 @@ [Database Structure](Database-Structure) > [World-Database](World-Database) > [waypoint_scripts](waypoint_scripts) -Column | Type | Description ---- | --- | --- -Id | int(11) unsigned | -Delay | int(11) unsigned | -Command | int(11) unsigned | -Datalong | int(11) unsigned | -Datalong2 | int(11) unsigned | -Dataint | int(11) unsigned | -X | float | -Y | float | -Z | float | -O | float | -Guid | int(11) | +# waypoint\_scripts + +###### **Used by [waypoint_data](waypoint_data)** + +### Information + +Waypoint paths directly attached to a creature via [creature_addon.path_id](creature_addon#path_id) use the tables [waypoint_data](waypoint_data) and [waypoint_scripts](waypoint_scripts). They can be added and manipulated using the GM '.wp' commands. See also [Waypoints-Information](Waypoints-Information) for general information about waypoints. + +### Structure + +| Field | Type | Attributes | Key | Null | Default | Comment +|----------------------------------|--------------|--------------|-----|------|---------|-------- +| [id](scripts#id) | int(11) | unsigned | | NO | 0 | +| [delay](scripts#delay) | int(11) | unsigned | | NO | 0 | +| [command](scripts#command) | int(11) | unsigned | | NO | 0 | +| [datalong](scripts#otherfields) | int(11) | unsigned | | NO | 0 | +| [datalong2](scripts#otherfields) | int(11) | unsigned | | NO | 0 | +| [dataint](scripts#otherfields) | int(11) | unsigned | | 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 | +| [guid](scripts#guid) | int(11) | | PRI | NO | 0 | acts as primary key and is set automatically using the [GM command](GM-Commands) 'wp event add' + |
