blob: 059f0711c4e8e7738358299283e8f182f0934bbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
[Database Structure](Database-Structure) > [World-Database](World-Database) > [event_scripts](event_scripts)
# 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 | UNSIGNED | | NO | 0 |
| [delay](scripts#delay) | INT | UNSIGNED | | NO | 0 |
| [command](scripts#command) | MEDIUMINT | UNSIGNED | | NO | 0 |
| [datalong](scripts#otherfields) | MEDIUMINT | UNSIGNED | | NO | 0 |
| [datalong2](scripts#otherfields) | INT | UNSIGNED | | NO | 0 |
| [dataint](scripts#otherfields) | INT | | | 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 |
|