OnPlayerSkydive

From Onset Developer Wiki
Revision as of 10:18, 10 December 2019 by Wumbaloo (talk | contribs) (Add function description, example and related functions.)
OnPlayerSkydive

Type: Event
Context: Client
Introduced: v1.0

Description

Called when the player starts to skydive.

Syntax

OnPlayerSkydive()

Example

function PlayerSkydive()
	AddPlayerChat("Good luck.")
	SetPostEffect("DepthOfField", "Distance", 0.05)
end
AddEvent("OnPlayerSkydive", PlayerSkydive)

See also