scripting:reference:events_reference
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| scripting:reference:events_reference [2014/06/23 15:51] – [PlayerLoginComplete] mit | scripting:reference:events_reference [2025/05/28 16:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Events Reference ===== | ===== Events Reference ===== | ||
| - | + | Here is a list of all the events currently supported by the world server. | |
| - | Here is a list of all the events currently supported by the world server | + | |
| ===== Player Status Events ===== | ===== Player Status Events ===== | ||
| Line 93: | Line 92: | ||
| ===== Inventory & Skill Events ===== | ===== Inventory & Skill Events ===== | ||
| ==== UseItem ==== | ==== UseItem ==== | ||
| + | ^ Triggered by | An item being used by the player | | ||
| + | ^ Event Parameter | Item Name | | ||
| + | ^ CancelTransaction | Cancels the normal ' | ||
| + | ^ Notes | Not all items will always have a ' | ||
| + | //Example// | ||
| + | < | ||
| + | { | ||
| + | *msg %PLAYER% You used the axe to chop down the nearest tree | ||
| + | *grantitem %PLAYER% 1 Wood | ||
| + | CancelTransaction() | ||
| + | } | ||
| + | </ | ||
| ==== ItemAdded ==== | ==== ItemAdded ==== | ||
| - | ^ Triggered by | a new item being added to the player' | + | ^ Triggered by | A new item being added to the player' |
| ^ Event Parameter | Item Name | | ^ Event Parameter | Item Name | | ||
| ^ CancelTransaction | N/A | | ^ CancelTransaction | N/A | | ||
| Line 114: | Line 125: | ||
| ==== SkillRemoved ==== | ==== SkillRemoved ==== | ||
| ==== BarterRequest ==== | ==== BarterRequest ==== | ||
| + | |||
| + | ===== Weapon Events ===== | ||
| + | ==== FireWeapon ==== | ||
| + | ==== WeaponHitGround ==== | ||
| + | ==== WeaponHitPlayer ==== | ||
| ===== Task System Events ===== | ===== Task System Events ===== | ||
| Line 120: | Line 136: | ||
| ^ Event Parameter | Building Type | | ^ Event Parameter | Building Type | | ||
| ^ CancelTransaction | N/A | | ^ CancelTransaction | N/A | | ||
| - | ^ Notes | $gTaskItem1 = 2 | | + | ^ Notes | $gTaskItem1 = 2. |
| - | ^ | $gTaskItem2 = Building record num | | + | |
| //Example// | //Example// | ||
| < | < | ||
| Line 171: | Line 186: | ||
| ==== BuildingProxEnter ==== | ==== BuildingProxEnter ==== | ||
| ==== BuildingProxLeave ==== | ==== BuildingProxLeave ==== | ||
| + | ==== PickupBuilding ==== | ||
| + | ==== BuildingDamaged ==== | ||
| + | |||
| + | ===== Special Server Events ===== | ||
| + | ==== Custom ==== | ||
| + | ==== ProductionRunStart ==== | ||
| + | ==== ProductionRunEnd ==== | ||
| + | ==== EndSequence ==== | ||
| + | ==== & | ||
| + | ==== Timer ==== | ||
| + | ==== ScriptReload ==== | ||
| + | ==== RangeLeave ==== | ||
| + | ==== SeaDepth ==== | ||
| + | ==== KillWildlife ==== | ||
| + | ==== WorldUpdate ==== | ||
| + | |||
| + | ===== Entity Events ===== | ||
| + | ==== EntityDestroyed ==== | ||
| + | ==== EntityDamaged ==== | ||
| + | ==== EntityUpdate ==== | ||
| ===== Town Events ===== | ===== Town Events ===== | ||
| - | '' | + | ==== TownButton |
| - | TownDeclareWar | + | ==== TownDeclareWar |
| - | TownEndWar | + | ==== TownEndWar |
| - | '' | + | |
| ===== Battle Events ===== | ===== Battle Events ===== | ||
| - | '' | + | ==== InitChallenge |
| - | AcceptChallenge | + | ==== AcceptChallenge |
| - | BattleStart | + | ==== BattleStart |
| - | BattleUpdate | + | ==== BattleUpdate |
| - | BattleEnd | + | ==== BattleEnd |
| - | BattleSurrender | + | ==== BattleSurrender |
| - | BattleLeave | + | ==== BattleLeave |
| - | BattleJoin | + | ==== BattleJoin |
| - | BattleAcceptSurrender | + | ==== BattleAcceptSurrender |
| - | BattleComplete | + | ==== BattleComplete |
| - | '' | + | |
| - | ===== Special Server Events ===== | ||
| - | '' | ||
| - | EndSequence \\ | ||
| - | & | ||
| - | Timer \\ | ||
| - | ScriptReload \\ | ||
| - | RangeLeave \\ | ||
| - | SeaDepth \\ | ||
| - | '' | ||
scripting/reference/events_reference.1403538688.txt.gz · Last modified: (external edit)
