English NPC FindTarget

9 replies
Goto Page
To the start Previous 1 Next To the start
15.08.13 05:30:18 am
Up
Kevanya3
User
Offline Off
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...
now it's here 5 BROTERS
15.08.13 06:10:49 am
Up
PoweredMercury
User
Offline Off
No, I think there's no script that will make the NPC find the player.
IMG:http://cache.www.gametracker.com/clan/Cs2D/type-460x42_cborder-213800_ctop-11172D_cbottom-1F2642_ctext1-142F8A_ctext2-FF9900_chighlight-FF9900.png
[url=www.cs2d.com][/url]
15.08.13 08:07:41 am
Up
Kevanya3
User
Offline Off
Really? then how?
now it's here 5 BROTERS
15.08.13 09:52:34 am
Up
MikuAuahDark
User
Offline Off
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.
file cs2d LuaJIT for Dedicated Server (11) JIT POWER! | Know your Lua errors! | Draw stuff at Pixelize Art --xx-- server!
15.08.13 10:06:23 am
Up
Avo
User
Offline Off
Of course it´s possible, but needs to implement own pathfinding algorithm. But move of npcs won´t look naturally.
15.08.13 01:00:21 pm
Up
PoweredMercury
User
Offline Off
@user Avo Yes. But not the normal NPC. You can make a NPC moving around using LUA but not gonna shoot.
IMG:http://cache.www.gametracker.com/clan/Cs2D/type-460x42_cborder-213800_ctop-11172D_cbottom-1F2642_ctext1-142F8A_ctext2-FF9900_chighlight-FF9900.png
[url=www.cs2d.com][/url]
15.08.13 01:09:02 pm
Up
Avo
User
Offline Off
If you mean CS2D NPC when saying "normal NPC", you are wrong. NPC are images, you can simply change their position with lua commands.
15.08.13 01:14:24 pm
Up
PoweredMercury
User
Offline Off
@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. √
IMG:http://cache.www.gametracker.com/clan/Cs2D/type-460x42_cborder-213800_ctop-11172D_cbottom-1F2642_ctext1-142F8A_ctext2-FF9900_chighlight-FF9900.png
[url=www.cs2d.com][/url]
16.08.13 10:52:17 am
Up
XM Rockman
User
Offline Off
that's i wanna talking about..!
16.08.13 01:25:52 pm
Up
ubmasterr
BANNED
Offline Off
I think you can use tween_move code in lua.
To the start Previous 1 Next To the start