PDA

View Full Version : No variable `Animation` in itemsprite



lincolnpepper
09-18-2021, 04:57 PM
ZScript Additions.txt mentions an Animation variable that can be accessed from sprite objects, including in itemsprite scripts. But i am not able to access the Animation variable in an itemscript. I get an error that Animation does not exist under the pointer when i try to use `this->Animation` in an itemsprite script.

edit: i know it's obvious, but i forgot to mention I'm in the latest official 2.55 release.

jeffythedragonslayer
01-19-2024, 09:47 PM
Where did you get this ZScript Additions.txt?