Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GetBool(name: string): bool;
bool GetBool(string name);
def GetBool(name as string) as bool

Parameters

nameThe name of the parameter.

Description

Gets the value of a bool parameter.

GetBool(id: int): bool;
bool GetBool(int id);
def GetBool(id as int) as bool

Parameters

idThe id of the parameter. The id is generated using Animator::StringToHash.

Description

Gets the value of a bool parameter.