renegade Posted January 22, 2015 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 01/06/15 Last Seen: December 16, 2017 Share Posted January 22, 2015 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. Quote Link to comment Share on other sites More sharing options...
rayn Posted January 22, 2015 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 164 Reputation: 55 Joined: 11/25/11 Last Seen: May 3, 2020 Share Posted January 22, 2015 Look into https://rathena.org/wiki/Enablenpc Quote Link to comment Share on other sites More sharing options...
renegade Posted January 22, 2015 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 01/06/15 Last Seen: December 16, 2017 Author Share Posted January 22, 2015 The concept in mind that I have is that the NPC would be generated based on the input of a player. Quote Link to comment Share on other sites More sharing options...
Oceanid Posted January 24, 2015 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 80 Reputation: 2 Joined: 10/08/13 Last Seen: March 5, 2020 Share Posted January 24, 2015 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. Quote Link to comment Share on other sites More sharing options...
Question
renegade
Let's say I get a NPC that loads before the one below to set @mapname$ = prontera.
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.