GSC reference › Built-in

AnimMappingSearch()

Built-in (engine) Server Called on: actor

Searches animation mapping table to return a animation name when given a animation mapping alias name.

Signature

<actor> AnimMappingSearch(<animation_alias_name>)

Called on an entity: actor AnimMappingSearch(...)

Parameters

NameRequired?
animation_alias_nameRequired

Example (from Treyarch's docs)

self AnimMappingSearch("anim_arrive_cover_left_crouch")

Real uses in BO3's scripts

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

Related built-ins

  • ForceGameModeMappings()
    Forces the users controller mappings for a specific game mode (or resets to user defaults)

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).