Jump to content
  • 0

Random spawn duplicate npc


Question

Posted (edited)

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

I found this script:

movenpc strnpcinfo(0),.@rand_x,.@rand_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

3 answers to this question

Recommended Posts

  • 0
Posted

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

  • -1
Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...