Tile - YPostProcess - Set Active – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Active(Post Process, Player, Active, Smoothing time)

YlandsTile-772.png

enable(player: YCharacter, active: boolean, time: number): void;

Parameters

player

Target player.

active

Activates or deactivates the Post process.

time

Smoothes the transition to or from the effects of the Post Process by a given value.

Availability

Server

Description

Activates or deactivates a custom Post Process Game Logic to the target player.