1,482
edits
TwilightSky (talk | contribs) m (→Notes: Updated animation variable list link and removed broken old beth forums link.) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Function SetAnimationVariableInt(string asVariableName, int aiNewValue) native | Function SetAnimationVariableInt(string asVariableName, int aiNewValue) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 17: | Line 17: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Force actor to use melee weapon | ; Force actor to use melee weapon | ||
SetAnimationVariableInt("iRightHandType", 1) | SetAnimationVariableInt("iRightHandType", 1) | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||