Well the fix Cisyouc suggested worked, but I don't even have to say anything to get bound. When I hail him he just jumps to next line of text and auto binds me. Guess that would be ok, but wonder why he binds automatically?
Also, if I have a default.pl in the /quests folder he soulbinder won't respond to hails. I have to remove default.pl before the soulbinder will work. I have file labeled as Soulbinder_Oakstout.pl, which is what it was named as when I downloaded the quest pack. Just wish the default.pl could stay in the quest folder for all the other npcs.
BTW here is default.pl.......
sub EVENT_SAY
{
if($text=~/Hail/i)
{quest::say("Hello $name");}
}
sub EVENT_DEATH{
quest::me("falls to the ground.");
}
sub EVENT_ATTACK{
quest::me("charges at $name ready to attack.");
}
----------------------------------------------
and here is the soulbinder pl after cisyouc's suggested fix.....
sub EVENT_SAY {
if ($text=~/Hail/i){quest::say("Greetings $name . When a hero of our world is slain. their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity. it is my duty to [bind your soul] to this location if that is your wish."); }
if($text=~/bind/i)
{
quest::say("Very well. You will return to this spot when you die.");
quest::selfcast(2049); }
}
#END OF FILE ZONE:GFAYDARK NPCID:54179 SOULBINDER_OAKSTOUT
Last edited by solid11; 02-22-2005 at 10:42 PM..
|