Forum

> > CS2D > Scripts > NPC FindTarget
Forums overviewCS2D overview Scripts overviewLog in to reply

English NPC FindTarget

9 replies
To the start Previous 1 Next To the start

old NPC FindTarget

Kevanya3
User Off Offline

Quote
HI all...

I Need a script about npc
npc can't move to find player
the npc only can move if the player meet them

and sorry my bad english...

old Re: NPC FindTarget

MikuAuahDark
User Off Offline

Quote
user Kevanya3 has written
Really? then how?

can you reading correctly?
user PoweredMercury has written
No, I think there's no script that will make the NPC find the player.

So, it's not possible to do it. Only way to do it with a fully scripted NPC like Tibia.

old Re: NPC FindTarget

Avo
User Off Offline

Quote
Of course it´s possible, but needs to implement own pathfinding algorithm. But move of npcs won´t look naturally.

old Re: NPC FindTarget

Avo
User Off Offline

Quote
If you mean CS2D NPC when saying "normal NPC", you are wrong. NPC are images, you can simply change their position with lua commands.

old Re: NPC FindTarget

PoweredMercury
User Off Offline

Quote
@user Avo: Yeah the CS2D NPC. He wanted to make the NPC finds the player without letting them meet each other. But in that case. If you have "any" idea from doing it. Please, Help him. √
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview