Log in

View Full Version : Idea for a feature in next release of emu


jimbox114
08-09-2004, 05:27 AM
I hope this is the right forum for this. I don't even know if this would be possible, but I will suggest it anyways. Something that would make writeing quests easier (and more powerful) would be to give npc's the option to use the same commands that player charactors get. Of course the only way they would use this commands would be from a quest request, but it would add new ways to write a quest. Like for example say you have a npc called A_Big_Bad_Boss. On his death lets say you want to spawn a quest npc you made in the database. You could make a sub_event death and have a script that says:

quest::say("#dbspawn 123456");

Then the NPC A_Big_Bad_Boss would be dead and you would have spawned npc id 123456 who does a quest for you (assumeing of course you got a 123456.pl file in that zone folder obviously). This is of course just 1 example of the things that could be done if mobs was able to use the player # commands. Now is probably the part I will find out you can do this somehow. I tried testing a #dbspawn and the mob just says dbspawn xxxxxx, as expected.

sotonin
08-09-2004, 05:28 AM
the correct forum would be bug fixes or feature requests

why the hell would you want him to use #dbspawn there are already quest commands for that

quest::spawn();

jimbox114
08-09-2004, 08:18 AM
the correct forum would be bug fixes or feature requests

why the hell would you want him to use #dbspawn there are already quest commands for that

quest::spawn();

Doesn't that just spawn a generic mob with no particular id? Basically isn't it the #spawn command? If you was wanting to spawn a mob who would be part of a quest you would need to know its id.

sotonin
08-09-2004, 08:35 AM
No. it spawns a certain npctype id from the database

Cripp
08-09-2004, 08:53 AM
there are already many quest functions that do the same thing as many commands. :o

jimbox114
08-09-2004, 04:26 PM
Ohhh, well ok I guess in that case this wouldn't be too useful of a feature at all then.