Reply to Re: attempting two player dink
If you don't have an account, just leave the password field blank.
The NPC could have a vision radius aswell, so he could realisticly respond to closer attackers or the player. The bonca enemy scripts in the Weather Demo have a version of this, if anyone's interested.
Shouldn't be too hard to check the distance between the NPC and all the enemies, then you could have them decide wether to use a distance attack or close range from there.
Might be easiest to seperate the attacks into different scripts, then swap between them.
Shouldn't be too hard to check the distance between the NPC and all the enemies, then you could have them decide wether to use a distance attack or close range from there.
Might be easiest to seperate the attacks into different scripts, then swap between them.