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]
Jefferson TX on a Paranormal Investigation of a haunted bed and breakfast - I got some friends that are paranormal investigators and they have an RV and do YouTubes
just got back from San Antonio this weekend had the best Buffalo Chicken Cheesesteak sandwhich in Universal City, TX - place was called Yous Guys freaking awesome! Hope everyone had a fantastic weekend!
We have been getting crazy numbers reported by the forum of people online the bots are going crazy on us I think it is AI training bots going at it at least that is what it looks like to me.
Most legit traffic is tracked on multiple Analytics and we have Cloud Flare setup to block a ton of stuff but still there is large amount of bots that seem to escape detection and show up in the user list of the forum. I have been watching this bullshit for a year and still cannot figure it out it is drving me crazy lol.