Avorion Script API Documentation

GameInput

This object is only available on the client.

function GameInput()

This is the default constructor of GameInput. No further arguments are required.

Returns

A new instance of GameInput

property bool isMouseSteeringEnabled[read-only]
property bool isSteeringEnabled[read-only]

function string getActionName(GameInput::Action action)

function string getKeyName(GameInput::Action action, var primary, var controlStyle)

function bool getMouseSteeringEnabled()

function bool getShowMouse()

function bool keyDown(GameInput::Action action)

function bool keyHeld(GameInput::Action action)

function bool keyPressed(GameInput::Action action)

function bool keyUp(GameInput::Action action)

function bool keyUpHeld(GameInput::Action action)

function bool keyUpNotHeld(GameInput::Action action)

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7