Scripting/Squirrel/Client Events: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Client-side event template) |
(added missing parameters) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
* [[ScriptLoad]]() | == Script Events == | ||
* [[ScriptUnload]]() | * [[Scripting/Squirrel/Client_Events/Script::ScriptLoad|Script::ScriptLoad]]() | ||
* [[ScriptProcess]]() | * [[Scripting/Squirrel/Client_Events/Script::ScriptUnload|Script::ScriptUnload]]() | ||
* [[PlayerDeath]](player) | * [[Scripting/Squirrel/Client_Events/Script::ScriptProcess|Script::ScriptProcess]]() | ||
* [[PlayerShoot]](player, weapon, hitEntity, hitPosition) | |||
* [[ServerData]](stream) | == Player Events == | ||
* [[ElementFocus]](element) | * [[Scripting/Squirrel/Client_Events/Player::PlayerDeath|Player::PlayerDeath]](player) | ||
* [[ElementBlur]](element) | * [[Scripting/Squirrel/Client_Events/Player::PlayerShoot|Player::PlayerShoot]](player, weapon, hitEntity, hitPosition) | ||
* [[ElementHoverOver]](element) | |||
* [[ElementHoverOut]](element) | == Server Events == | ||
* [[ElementClick]](element, mouseX, mouseY) | * [[Scripting/Squirrel/Client_Events/Server::ServerData|Server::ServerData]](stream) | ||
* [[ElementRelease]](element, mouseX, mouseY) | |||
* [[ElementDrag]](element, mouseX, mouseY) | == GUI Events == | ||
* [[CheckboxToggle]](checkbox, checked) | * [[Scripting/Squirrel/Client_Events/GUI::ElementFocus|GUI::ElementFocus]](element) | ||
* [[WindowClose]](window) | |||
* [[InputReturn]](editbox) | * [[Scripting/Squirrel/Client_Events/GUI::ElementBlur|GUI::ElementBlur]](element) | ||
* [[ListboxSelect]](listbox, text) | |||
* [[ScrollbarScroll]](scrollbar, position, change) | * [[Scripting/Squirrel/Client_Events/GUI::ElementHoverOver|GUI::ElementHoverOver]](element) | ||
* [[WindowResize]](window, width, height) | |||
* [[GameResize]](width, height) | * [[Scripting/Squirrel/Client_Events/GUI::ElementHoverOut|GUI::ElementHoverOut]](element) | ||
* [[KeyPressed]](key) | |||
* [[OnDown]]( | * [[Scripting/Squirrel/Client_Events/GUI::ElementClick|GUI::ElementClick]](element, mouseX, mouseY) | ||
* [[OnUp]]( | |||
* [[Scripting/Squirrel/Client_Events/GUI::ElementRelease|GUI::ElementRelease]](element, mouseX, mouseY) | |||
* [[Scripting/Squirrel/Client_Events/GUI::ElementDrag|GUI::ElementDrag]](element, mouseX, mouseY) | |||
* [[Scripting/Squirrel/Client_Events/GUI::CheckboxToggle|GUI::CheckboxToggle]](checkbox, checked) | |||
* [[Scripting/Squirrel/Client_Events/GUI::WindowClose|GUI::WindowClose]](window) | |||
* [[Scripting/Squirrel/Client_Events/GUI::InputReturn|GUI::InputReturn]](editbox) | |||
* [[Scripting/Squirrel/Client_Events/GUI::ListboxSelect|GUI::ListboxSelect]](listbox, text) | |||
* [[Scripting/Squirrel/Client_Events/GUI::ScrollbarScroll|GUI::ScrollbarScroll]](scrollbar, position, change) | |||
* [[Scripting/Squirrel/Client_Events/GUI::WindowResize|GUI::WindowResize]](window, width, height) | |||
* [[Scripting/Squirrel/Client_Events/GUI::GameResize|GUI::GameResize]](width, height) | |||
* [[Scripting/Squirrel/Client_Events/GUI::KeyPressed|GUI::KeyPressed]](key) | |||
== KeyBind Events == | |||
* [[Scripting/Squirrel/Client_Events/KeyBind::OnDown|KeyBind::OnDown]](keybind) | |||
* [[Scripting/Squirrel/Client_Events/KeyBind::OnUp|KeyBind::OnUp]](keybind) |
Latest revision as of 14:49, 1 May 2016
Script Events
Player Events
- Player::PlayerDeath(player)
- Player::PlayerShoot(player, weapon, hitEntity, hitPosition)
Server Events
- Server::ServerData(stream)
GUI Events
- GUI::ElementFocus(element)
- GUI::ElementBlur(element)
- GUI::ElementHoverOver(element)
- GUI::ElementHoverOut(element)
- GUI::ElementClick(element, mouseX, mouseY)
- GUI::ElementRelease(element, mouseX, mouseY)
- GUI::ElementDrag(element, mouseX, mouseY)
- GUI::CheckboxToggle(checkbox, checked)
- GUI::WindowClose(window)
- GUI::InputReturn(editbox)
- GUI::ListboxSelect(listbox, text)
- GUI::ScrollbarScroll(scrollbar, position, change)
- GUI::WindowResize(window, width, height)
- GUI::GameResize(width, height)
- GUI::KeyPressed(key)
KeyBind Events
- KeyBind::OnDown(keybind)
- KeyBind::OnUp(keybind)