Here is a question that has been burning in my brain for a while: is there a way to detect whether a unit is either standing or laying down? I know there is no "unitpos" command (oh how I long for such a command
), but has anyone thought of a way to detect it via scripting? I tried looking at the z coordinate of a unit using the getpos command, but it seemed to vary for no particular reason. Oh how useful it would be for various scripts that involve animations!
Ideas anyone? :hmm: