MikeWazowski
New Member
- Joined
- Apr 18, 2024
- Messages
- 4
- Reaction score
- 0
Say I create a spell's combat area in its own lua file, like this:
Some combat effects like ice tornadoes don't fill all positions in the area, and it's a bit tricky to get them to shape up just the way you want; even changing the creature (3) value around changes the resulting shape. I got my spell to be the exact shape that I wanted, but at the cost of moving the creature tile away from the center. I want to re-center it, without re-organizing the resulting combat area: is there a way to edit an area that has already been set and shift it away a block or two? Be it using lua or c++, I'm looking for any kind of method that might allow me to do that. This is using TFS 1.4.0, if it's of any use.
I apologize if this should be in the Requests forum, I wasn't sure which of the two it would belong to. Thank you in advance for any suggestions.
Lua:
local circle = {
{0, 0, 1, 0, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 3, 1, 0},
{1, 1, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 0, 1, 0, 0}
}
local combat = Combat()
combat:setArea(createCombatArea(circle))
Some combat effects like ice tornadoes don't fill all positions in the area, and it's a bit tricky to get them to shape up just the way you want; even changing the creature (3) value around changes the resulting shape. I got my spell to be the exact shape that I wanted, but at the cost of moving the creature tile away from the center. I want to re-center it, without re-organizing the resulting combat area: is there a way to edit an area that has already been set and shift it away a block or two? Be it using lua or c++, I'm looking for any kind of method that might allow me to do that. This is using TFS 1.4.0, if it's of any use.
I apologize if this should be in the Requests forum, I wasn't sure which of the two it would belong to. Thank you in advance for any suggestions.