OnGameTick

From Onset Developer Wiki
Revision as of 10:20, 23 March 2019 by BlueMountains (talk | contribs) (Created page with "{{Info|Event|Server & Client|1.0}} {{FuncDescription|Called on execution of the main thread. This is typically every frame (FPS) on clients. Tick rate on the server varies de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OnGameTick

Type: Event
Context: Server & Client
Introduced: v1.0

Description

Called on execution of the main thread. This is typically every frame (FPS) on clients. Tick rate on the server varies depending on the load. Use GetServerTickRate on the server to get that rate.

Syntax

OnGameTick(DeltaSeconds)

Parameters

  • DeltaSeconds
    Time in seconds that passed since the last tick.

Example

__EDIT_ME__

See also

Player

Vehicle

Game

Package

NPC

Object

Pickup

Text3D

Door