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 will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!
I just got to watch the video because even though I was there I was trying to work out tech problems with the chat since I was the social media guy so I was distracted but check it out guys the video is super fucking great!
Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled