ApiData().GetBehaviorIDFromIndex

Gets a Behavior ID from the given 0-base index.

Description

This function returns an existing ID value if the given Behavior exists. The returned integer ID value may be used to further modify the given Behavior.

Example Usage (C#)


int id = _core.ApiData().GetBehaviorIDFromIndex(index);

Parameters

int

index

The integer value representing the 0-based index of the Behavior in the data.

Returns

The integer number value representing the unique ID of the existing Behavior. The value is – 1 if the operation failed.

ApiData()