Jump to content
  • 0
Sign in to follow this  
Energy

Random spawn duplicate npc

Question

Hi, community!
I need help with random spawn duplicate npc..
 

I found this script:

movenpc strnpcinfo(0),[email protected]_x,[email protected]_y;

but this working only for main npc.But I do not need it. Main should just as well stay at a static site .

 

How to do that would duplicate a spawn in random coordinates? For expample: event OnInit:/OnClock:  50 identical npc a spawn in random coordirates on map?
Please help, who knows.  /no1
Edited by Energy

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Yep, i did it on my server, the problem is that there are not a script command, you have to create commands on your source in script.c and moddify npc.c, etc...

i think that somebody did this too but in hercules and publish it for free, you can search it there for npc duplicate

Share this post


Link to post
Share on other sites
  • 0

Yep, i did it on my server, the problem is that there are not a script command, you have to create commands on your source in script.c and moddify npc.c, etc...

i think that somebody did this too but in hercules and publish it for free, you can search it there for npc duplicate

Hmmm...but i made a script.

Solved, thx all.

Share this post


Link to post
Share on other sites
  • 0

What was the solution?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.