GSC reference › Built-in

StopAnimScripted()

Built-in (engine) Server Called on: entity

Halts animscript on this entity.

Signature

<entity> StopAnimScripted([blend], [ImmediateStop])

Called on an entity: entity StopAnimScripted(...)

Parameters

NameRequired?Details
blendOptional The blend out time for the animation
ImmediateStopOptional Stop the animation immediatly on the client side (no client/server time sync)

Example (from Treyarch's docs)

self StopAnimScripted()

Real uses in BO3's scripts

Called 76 times in the decompiled scripts. A few, zombies first:

Related built-ins

New to GSC?

Start with the basics, or paste a compile error to get the fix.

Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).