Teppen
08-21-2006, 03:02 PM
There are some minor errors in your perl quests. Not exactly errors that will halt your code, but I dont really think you understand the difference between (say,emote, and me). Not trying to start a flame here, so I will explain below:
---
--veksar examples--
example: a_bloodgill_warrior.pl
In the following:
---
quest::say ("a bloodgill warrior frantically calls for help!");
---
quest::say is what the bloodgill warrior is suppose to say a correct form would me something like this:
---
quest::say("prepare to die $name!");
---
However, what your wanting is for it to emote that the warrior calls for help, the correct method would be:
---
quest::emote("frantically calls for help!");
---
Using quest say would give the following outcome when triggered:
---
a bloodgill warrior says a bloodgill warrior frantically calls for help!
---
Which I dont think that is what your wanting.
---
use this for bloodgill shaman as well:
---
quest::emote("frantically calls for help!");
---
For, #Spirit_of_Garudon.pl
---
You used emote which should only be used when the npc is making an action, using emote will give the following outcome when triggered:
---
Spirit of Garudon As you place the remains of the dragon on the... and so on
---
To correct this you should of used the me command, which will take away that Spirit of Garudon that the emote displayed. Because, the spirit isnt making this as an action, its telling of an event that is happening, use this:
---
quest::me("As you place the remains of the dragon on the ground, a cold draft fills the air. Suddenly in a great vortex, the bones begin to rise up and move carried by the wind. They jut through the air and come down inside of the nearby theater. You hear the faint sound of bones clanking together, which is then followed by a massive moan. A sharp bolt of fear trickles up your spine as you feel anticipation fill the air.");
---
and finally, #a_raging_bloodgill_goblin.pl
---
You used this:
---
quest::say ("a raging bloodgill goblin hisses at you, its sharp teeth gnashing for your flesh!");
---
Which would give an outcome of this:
---
a raging bloodgill goblin says a raging bloodgill gobin hisses at you, its sharp teeth gnashing for your flesh!
---
the goblin is taking a action which means he's not saying anything so he is emoting. so to correct this use:
---
quest::emote("hisses at you, its sharp teeth gnashing for your flesh!");
---
The outcome when triggered will look like this on screen:
---
a raging bloodgill goblin hisses at you, its sharp teeth gnashing for your flesh!
---
If for instance you wanted to have the goblin say something after his emote, then give a description of the event of the gobling charging toward the player the code would look like this:
---
quest::emote("hisses at you, its sharp teeth gnashing for your flesh!");
quest::say("Prepare to meet your maker $race");
quest::me("The ground shake's and the sky rumble's as you hear cries of goblin's and their pounding drum's.");
---
hope this helps, otherwise your doing good.
---
--veksar examples--
example: a_bloodgill_warrior.pl
In the following:
---
quest::say ("a bloodgill warrior frantically calls for help!");
---
quest::say is what the bloodgill warrior is suppose to say a correct form would me something like this:
---
quest::say("prepare to die $name!");
---
However, what your wanting is for it to emote that the warrior calls for help, the correct method would be:
---
quest::emote("frantically calls for help!");
---
Using quest say would give the following outcome when triggered:
---
a bloodgill warrior says a bloodgill warrior frantically calls for help!
---
Which I dont think that is what your wanting.
---
use this for bloodgill shaman as well:
---
quest::emote("frantically calls for help!");
---
For, #Spirit_of_Garudon.pl
---
You used emote which should only be used when the npc is making an action, using emote will give the following outcome when triggered:
---
Spirit of Garudon As you place the remains of the dragon on the... and so on
---
To correct this you should of used the me command, which will take away that Spirit of Garudon that the emote displayed. Because, the spirit isnt making this as an action, its telling of an event that is happening, use this:
---
quest::me("As you place the remains of the dragon on the ground, a cold draft fills the air. Suddenly in a great vortex, the bones begin to rise up and move carried by the wind. They jut through the air and come down inside of the nearby theater. You hear the faint sound of bones clanking together, which is then followed by a massive moan. A sharp bolt of fear trickles up your spine as you feel anticipation fill the air.");
---
and finally, #a_raging_bloodgill_goblin.pl
---
You used this:
---
quest::say ("a raging bloodgill goblin hisses at you, its sharp teeth gnashing for your flesh!");
---
Which would give an outcome of this:
---
a raging bloodgill goblin says a raging bloodgill gobin hisses at you, its sharp teeth gnashing for your flesh!
---
the goblin is taking a action which means he's not saying anything so he is emoting. so to correct this use:
---
quest::emote("hisses at you, its sharp teeth gnashing for your flesh!");
---
The outcome when triggered will look like this on screen:
---
a raging bloodgill goblin hisses at you, its sharp teeth gnashing for your flesh!
---
If for instance you wanted to have the goblin say something after his emote, then give a description of the event of the gobling charging toward the player the code would look like this:
---
quest::emote("hisses at you, its sharp teeth gnashing for your flesh!");
quest::say("Prepare to meet your maker $race");
quest::me("The ground shake's and the sky rumble's as you hear cries of goblin's and their pounding drum's.");
---
hope this helps, otherwise your doing good.