X Tutup
×
Create a new article
Write your page title here:
We currently have 92,694 articles on Fallout Wiki. Type your article name above or click on one of the titles below and start writing!



Fallout Wiki
92,694Articles
☢  Independent Fallout Wiki Resources  ☢

SetAnimationVariableInt - ObjectReference

Resource:Creation Kit > SetAnimationVariableInt - ObjectReference


Member of: ObjectReference Script

Sets the value of a variable on the reference's animation graph - Int version.

Syntax

Function SetAnimationVariableInt(string asVariableName, int aiNewValue) native

Parameters

  • asVariableName: The name of the variable to read from the graph
  • aiNewValue: The new variable value

Return Value

None.

Examples

; Force actor to use melee weapon
SetAnimationVariableInt("iRightHandType", 1)

See Also

X Tutup