If the variable is not a global variable then you do not need the udg_, but all GUI variables are global variables.
This is what the SetUnitAnimationByIndex() function header looks like incase it helps you out:
[ljass]native SetUnitAnimationByIndex takes unit whichUnit, integer whichAnimation returns nothing[/ljass]
So when you use it it should look like this:
[ljass]call SetUnitAnimationByIndex(whichUnit, integer)[/ljass]
Yes you can, but if you're using GUI remember that all variables have a "udg_" in from of the variable. For instance, if you have a GUI variable called "myUnit", in JASS/Custom Script the variable is referred to as "udg_myUnit".
You would need to put the desired unit or unit variable in the <unit> part, and the desired integer (whole number, no fractions/decimals) in the <Integer> portion. And also it's [ljass]call SetUnitAnimationByIndex(unit whichUnit, integer index)[/ljass]
I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.