Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 03-06-2010, 12:20 AM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default

Trevius, I compiled the most recent binaries and tried your example that you just gave me and it didn't work. Gave me the following error:

[Status] Script error: qst999237::EVENT_SPAWN - Perl runtime error: Can't locate object method "SendAppearanceEffect" via package "NPC" at quests/frozenshadow/999237.pl line 2.

Edit: I compiled the latest binaries and it doesn't give this error anymore however now it's a whole different issue; It simply doesn't do anything. Do I need to update something else in plugins or something?

Edit: Ok after prodding around, I remender sendappearance for making an npc lay, or sit doesn't work in EVENT_SPAWN so I tried the following -

Code:
sub EVENT_SPAWN {
quest::settimer("pp1", 1);
}

sub EVENT_TIMER {
if($timer eq "pp1") {
$npc->SendAppearanceEffect(55, 33, 52);
	}
}
and it worked..
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:08 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3