Spatzimaus
Mad Scientist
Question for anyone who might know. I've got an image, type .dds, that I use in my Mythology mod (nearly functional!). It's a square image, 600x600, and I want to be able to rotate it 90, 180, or 270 degrees depending on what the player clicks; I could just add four versions of the image, but that'd be very wasteful, so I'd prefer to be able to just manipulate the one image it already displays. While the core game's UI elements never seem to do anything like that, many Lua functions used by other games DO allow for rotation.
So, I'm wondering whether anyone knows of anything like this in the Lua, possibly from one of the DLCs (which I've never bought). I've tried Rotate, SetRotate, SetRotateVal, and SetRotation, all of which are used by Lua mods for other games, and none of those are accepted by Civ5; I could keep guessing forever (SetTextureRotation?) but I'm hoping someone else has an idea.
So, I'm wondering whether anyone knows of anything like this in the Lua, possibly from one of the DLCs (which I've never bought). I've tried Rotate, SetRotate, SetRotateVal, and SetRotation, all of which are used by Lua mods for other games, and none of those are accepted by Civ5; I could keep guessing forever (SetTextureRotation?) but I'm hoping someone else has an idea.