Jump to content
  • 0

Can a NPC make another NPC?


renegade

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  01/06/15
  • Last Seen:  

Let's say I get a NPC that loads before the one below to set @mapname$ = prontera.

@mapname$,97,147,0 script exampleNPC 48,{
mes "hi";
close;
}

It doesn't work (obviously because it's not within the brackets)

 

Is there a method for a NPC to spawn/create another NPC? I have some unique uses in mind for this.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  01/06/15
  • Last Seen:  

The concept in mind that I have is that the NPC would be generated based on the input of a player. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  10/08/13
  • Last Seen:  

No because the game would have to communicate with third party applications to write the script and then somehow send it to the emulator. You would be better off trying rayn's suggestion and using enablenpc.

Link to comment
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.

×
×
  • Create New...