diff options
| author | Walter Pagani <paganiwalter@gmail.com> | 2021-01-14 11:12:55 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-14 11:12:55 -0300 |
| commit | 6058b7ba66eb58b7bd33675c3ce89a9987802f43 (patch) | |
| tree | ff7abaab5639eb8b30e0c8916d1b32cb79dc2a9a /docs | |
| parent | 459d2b76562bc63a760547a70d495f3d8593fd85 (diff) | |
| download | wiki-6058b7ba66eb58b7bd33675c3ce89a9987802f43.tar.gz wiki-6058b7ba66eb58b7bd33675c3ce89a9987802f43.tar.bz2 wiki-6058b7ba66eb58b7bd33675c3ce89a9987802f43.zip | |
update areatrigger (#365)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/areatrigger.md | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/docs/areatrigger.md b/docs/areatrigger.md index 87a179b..1e96cf4 100644 --- a/docs/areatrigger.md +++ b/docs/areatrigger.md @@ -8,29 +8,18 @@ This table contains trigger points for events in certain coordinates in the maps **Structure** -| Field | Type | Attributes | Key | Null | Default | Extra | Comment | -|-------------------|----------|------------|-----|------|---------|----------------|---------| -| [entry][1] | int (10) | unsigned | PRI | NO | NULL | auto_increment | | -| [map][2] | int(10) | unsigned | PRI | NO | 0 | | | -| [x][3] | FLOAT | | | NO | 0 | | | -| [y][4] | FLOAT | | | NO | 0 | | | -| [z][5] | FLOAT | | | NO | 0 | | | -| [radius][6] | FLOAT | | | NO | 0 | | | -| [length][7] | FLOAT | | | NO | 0 | | | -| [width][8] | FLOAT | | | NO | 0 | | | -| [height][9] | FLOAT | | | NO | 0 | | | -| [orientation][10] | FLOAT | | | NO | 0 | | | - -[1]: #entry -[2]: #map -[3]: #x -[4]: #y -[5]: #z -[6]: #radius -[7]: #length -[8]: #width -[9]: #height -[10]: #orientation +| Field | Type | Attributes | Key | Null | Default | Extra | Comment | +|-------------|---------|------------|-----|------|---------|----------------|------------------------------------------------------| +| entry | int(10) | unsigned | PRI | NO | | auto_increment | | +| map | int(10) | unsigned | | NO | 0 | | | +| x | float | | | NO | 0 | | | +| y | float | | | NO | 0 | | | +| z | float | | | NO | 0 | | | +| radius | float | | | NO | 0 | | Seems to be a box of size yards with center at x,y,z | +| length | float | | | NO | 0 | | Most commonly used when size is 0, but not always | +| width | float | | | NO | 0 | | Most commonly used when size is 0, but not always | +| height | float | | | NO | 0 | | Most commonly used when size is 0, but not always | +| orientation | float | | | NO | 0 | | Most commonly used when size is 0, but not always | **Description of the fields** @@ -53,3 +42,13 @@ This contains the radius of activation of the trigger. ### Length, Width, Height and Orientation these fields contain the values for the physics and behavior of a given trigger. + +### Example + +| entry | map | x | y | z | radius | length | width | height | orientation | +|-------|-----|----------|----------|---------|--------|--------|-------|--------|-------------| +| 45 | 0 | 2924.38 | -798.429 | 161.611 | 8 | 0 | 0 | 0 | 0 | +| 71 | 0 | -10645.9 | 1179.06 | 48.1781 | 27 | 0 | 0 | 0 | 0 | +| 78 | 0 | -11208.5 | 1685.34 | 25.7612 | 7 | 0 | 0 | 0 | 0 | +| 84 | 0 | 16449.9 | 16393.2 | 69.4444 | 15 | 0 | 0 | 0 | 0 | +| 87 | 0 | -9077.34 | -552.925 | 60.3476 | 30 | 0 | 0 | 0 | 0 | |
