Command Profile
ENT_ANIMGRAPH_SETVAR
CS2
Sets a variable on the animgraph of the given entity(s). Arguments: <varname>=<value> <{entity_name} / {class_name} / {entity_index} / {no argument = pick what player is looking at}>
Syntax
ent_animgraph_setvar
Description
Sets a variable on the animgraph of the given entity(s). Arguments: <varname>=<value> <{entity_name} / {class_name} / {entity_index} / {no argument = pick what player is looking at}>
How To Use ent_animgraph_setvar
- Enable the developer console in Counter-Strike settings.
- Open the console with the tilde key (
~). - Enter
ent_animgraph_setvar, replacing bracketed arguments with the value you want, then press Enter.
This command is listed as compatible with Counter-Strike 2.
Syntax And Arguments
ent_animgraph_setvar