animgraph_set_parameter_string Command

Explore usage, syntax, and examples for the animgraph_set_parameter_string CS2 developer console command.

animgraph_set_parameter_string

CS2 Only

Command

animgraph_set_parameter_string

<Entity ID><Parameter Name><0 / 1>

Set a specific animation graph parameter for a given entity. This command helps developers and animators test and adjust animation states on the server.

<Entity ID>

ID of the entity whose animation parameter you want to change.

<Parameter Name>

Name of the animation graph parameter to set.

<0 / 1>

Value to apply to the parameter: 1 for true, 0 for false.

sv_cheats Required

Yes

Client or Server Command

Server

animgraph_set_parameter_string Generator

Command

animgraph_set_parameter_string

<Entity ID><Parameter Name><0 / 1>
0/3 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

0 / 1

animgraph_set_parameter_string Examples

Command

animgraph_set_parameter_string

10walk

Set the 'walk' parameter to true for the entity with ID 0.