Confusing title?
No?
Ah well to further confuse you.
I'm looking for a small script to add to a monster, making them able to
see the player wherever they are.
So they will, like bots look for their target.
Now in one of my maps I added this:
It would cause my monsters to look for what triggered them
and attack it.
It was far from perfect though as the player had to trigger the monster.
I need a way to get the monsters to have a more bot like AI and track down the nearest target that can be attacked.
Is there anyone who can help me with that?
If so please answer so I can finally get this map that has been on hold for ages out.
No?
Ah well to further confuse you.
I'm looking for a small script to add to a monster, making them able to
see the player wherever they are.
So they will, like bots look for their target.
Now in one of my maps I added this:
Code:
function Trigger( actor Other, pawn EventInstigator )
{
seeplayer(EventInstigator);
}
and attack it.
It was far from perfect though as the player had to trigger the monster.
I need a way to get the monsters to have a more bot like AI and track down the nearest target that can be attacked.
Is there anyone who can help me with that?
If so please answer so I can finally get this map that has been on hold for ages out.