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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2012, 09:46 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default Destroying Instances on Zone Out

Is there a way you can destroy an instance when a character zones out of it? I am using Akkadius's sendtoinstance plugin, but I was considering trying something like

Code:
  my $i_id = quest::CreateInstance("arena", 1, 360);
  quest::AssignToInstance($i_id);
  quest::MovePCInstance(77, $i_id, -41, 131, -0.5);
  quest::setglobal("InstID", $i_id, 5, "F");
on the instance giver. Then doing

Code:
sub EVENT_ZONE{
 quest::DestroyInstance($qglobals{"InstID"});
}
on player.pl in the arena. Would this create any issues in any way?
Reply With Quote
Reply


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 03:34 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3