Kurofly Posted April 23, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Share Posted April 23, 2015 Hello there! I'd like to know wether it would be possible to use kind of a createnpc command. Someting like 'createnpc <map name>,<x>,<y>,<facing>%TAB%script%TAB%<NPC Name>%TAB%<sprite id>,{<code>}' I have no idea wether this is possible or not, maybe i should have posted this in the support section. Sorry if that's the case. Thanks in advance Quote Link to comment Share on other sites More sharing options...
Terrinigma Posted April 23, 2015 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 62 Reputation: 19 Joined: 04/11/15 Last Seen: September 20, 2017 Share Posted April 23, 2015 There's really no need for a command like this, you wouldn't really want another GM to have access to something like this normally and if you trusted someone enough to have it you could give them server file access. But you can write any npc you want while the server is active and just use @reloadscript, creates a very slight delay and your npc is loaded. What exactly do you want this for? Quote Link to comment Share on other sites More sharing options...
Kurofly Posted April 23, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Author Share Posted April 23, 2015 It's not easy to explain but I would like to make kind of an interactive place where NPCs could spawn according to items. If I had the possibility to create a NPC using a command, I wouldn't have to make a lot of them in advance knowing that most of them will be inactive. I expected that answer but I just wanted to make sure ^^ Quote Link to comment Share on other sites More sharing options...
Terrinigma Posted April 23, 2015 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 62 Reputation: 19 Joined: 04/11/15 Last Seen: September 20, 2017 Share Posted April 23, 2015 (edited) Well you could create them in a singular location and use an @disablenpc and @enablenpc script based on the items? PM me, tell me a bit about what you're trying to do, between the two of us we could work a solid script I'm sure. Edited April 23, 2015 by Terrinigma Quote Link to comment Share on other sites More sharing options...
Kurofly Posted April 23, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Author Share Posted April 23, 2015 Sure but that makes a lot of NPCs to create. Seems like I don't have choice ^^ Quote Link to comment Share on other sites More sharing options...
Terrinigma Posted April 23, 2015 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 62 Reputation: 19 Joined: 04/11/15 Last Seen: September 20, 2017 Share Posted April 23, 2015 Wouldn't have to anyways? XD you'd have to write them all on the fly bascially? By the time you reach all outcomes you'd create the same amount of npcs? Quote Link to comment Share on other sites More sharing options...
Question
Kurofly
Hello there!
I'd like to know wether it would be possible to use kind of a createnpc command.
Someting like 'createnpc <map name>,<x>,<y>,<facing>%TAB%script%TAB%<NPC Name>%TAB%<sprite id>,{<code>}'
I have no idea wether this is possible or not, maybe i should have posted this in the support section. Sorry if that's the case.
Thanks in advance
Link to comment
Share on other sites
5 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.