Garry's Mod Wiki

Entity:FindTransitionSequence

  number Entity:FindTransitionSequence( number currentSequence, number goalSequence )

Description

Returns a transition from the given start and end sequence.

This function was only used by HL1 entities and NPCs, before the advent of sequence blending and gestures.

Arguments

1 number currentSequence
The currently playing sequence
2 number goalSequence
The goal sequence.

Returns

1 number
The transition sequence, -1 if not available.