Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

NPC Auto Attack


Maslina
 Share

Recommended Posts

Hi i'm making a new game , and I need a help!

I'm looking for source but i can't find it.

I want to make that npc always attack you and follow you .

So i need the source code, and please give me the source that opens some form when NPC attack you ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

TY all…...
Link to comment
Share on other sites

> Learn the basics…
>
> Ingame -> Admin Panel -> NPC Editor -> Attack on sight

Despite what it seems, that isn't enough. You'll want to edit the range the NPC has, otherwise it will only attack players once a player is right next to them.
Link to comment
Share on other sites

…... you EDIT the source code(the files in side the "src" with vb6.,.) theres a project for VB6 next to the exe.

HOW TO EDIT SOURCE CODE

1 Download "VISUAL BASIC 6.0"

2 Install This program

3 open the project for server or client.

4 change the data in it.

PS if you dont understand code then dont mess it up..

................
Link to comment
Share on other sites

> u prob have to edit the exe file with notepad or something

Sadly, it isn't that easy. In order to change the code of both the engine or the client so that they are put into effect, you need Visual Basic 6\. Its necessary because you need to compile the code into an exe for any changes to be noticeable.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...