Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2009, 07:43 PM
nilbog
Hill Giant
 
Join Date: Nov 2007
Posts: 197
Default bind within proximity

Not sure if this is still the way it is on live, but classically you could bind at the gypsy camp in north karana.

Here's a script I made to allow binding to happen around gypsies.

I made an invisible man in the middle of the gypsies and it is named 1466.

player.pl for nk
Code:
sub EVENT_CAST {

if $spell_id == 35) {


quest::signalwith(1466,0,0); ## 1466 is the invisible man
}
}
script for invisible man (1466 in my example)
Code:
sub EVENT_SIGNAL {

 if($signal == 0) {

  my $list_check = 0;

for ($list_check = 0; $list_check < 2000; $list_check++) {

$client_search = $entity_list->GetClientByID($list_check); 
if ($client_search) {
my $distanceCHK = $client_search->CalculateDistance($x, $y, $z);
my $PLTarget = $npc->GetTarget();
my $TargID = $PLTarget->GetID();
my $ClID = $client_search->GetID();
my $client_target = $TargID->GetTarget();
if (($distanceCHK <= 100) && ($TargID = $ClID)) {
$npc->CastSpell(35,$client_target);
  }
 }
}
}
}
The one issue with it is that it will give the message to the player "You cannot seem to develop an affinity for this place. Try a city." It still works though, not quite sure how to get rid of message

Hope it helps someone!
Reply With Quote
  #2  
Old 06-29-2009, 08:27 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

you simply add extra message right after that "but Divine force intervines and bind you anyway"
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 07:07 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3