Garry's Mod Wiki

NPC:SetIdealSequence

  NPC:SetIdealSequence( number sequenceId )

Recently Added

This was recently added in version (2024.09.12). It might only be available on the Dev Branch right now.

Description

Sets the ideal sequence the NPC currently wants to achieve. This is most useful for custom SNPCs.

Arguments

1 number sequenceId
The ideal sequence to set. Entity:LookupSequence.