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.

GetInteger(name: string): int;
int GetInteger(string name);
def GetInteger(name as string) as int

Parameters

nameThe name of the parameter.

Description

Gets the value of an integer parameter.

GetInteger(id: int): int;
int GetInteger(int id);
def GetInteger(id as int) as int

Parameters

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

Description

Gets the value of an integer parameter.