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
No edit summary |
(added missing parameters) |
||
Line 40: | Line 40: | ||
* [[Scripting/Squirrel/Client_Events/GUI::GameResize|GUI::GameResize]](width, height) | * [[Scripting/Squirrel/Client_Events/GUI::GameResize|GUI::GameResize]](width, height) | ||
* [[Scripting/Squirrel/Client_Events/GUI::KeyPressed|GUI::KeyPressed]]() | * [[Scripting/Squirrel/Client_Events/GUI::KeyPressed|GUI::KeyPressed]](key) | ||
== KeyBind Events == | == KeyBind Events == | ||
* [[Scripting/Squirrel/Client_Events/KeyBind::OnDown|KeyBind::OnDown]]() | * [[Scripting/Squirrel/Client_Events/KeyBind::OnDown|KeyBind::OnDown]](keybind) | ||
* [[Scripting/Squirrel/Client_Events/KeyBind::OnUp|KeyBind::OnUp]]() | * [[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)