Tile - YAnimators - Set Custom Controller Parameter Variable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Custom Controller Parameter Variable(Object, Variable, Value)

YlandsTile-975.png

static setControllerParameterVariable(obj: YEntity | YLogic | YGroup, variableName: String, variableValue: any): void;

Parameters

obj

variableName

variableValue

Description

Allows to set the custom controller to the target *object, allowing it to be possessed by a player.