Gordonfreeman75
New Member
- Joined
- Oct 11, 2012
- Messages
- 3
- Reaction score
- 0
Hi there guys,
I am trying to make a spell to kill everything that is onscreen through a talkaction, so I am creating a combat area like this:
The problem is that the spell is blocked by walls, so it doesn't actually kill everything on the screen if you are outside a house or something..
How could I manage to make the spell affect ALL the combat area and not just the "shootable" tiles?
Thanks and sorry for my stupid questions :$
I am trying to make a spell to kill everything that is onscreen through a talkaction, so I am creating a combat area like this:
Code:
local arr = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
}
The problem is that the spell is blocked by walls, so it doesn't actually kill everything on the screen if you are outside a house or something..
How could I manage to make the spell affect ALL the combat area and not just the "shootable" tiles?
Thanks and sorry for my stupid questions :$
Last edited: