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 06-10-2009, 09:02 AM
kimura0715
Fire Beetle
 
Join Date: Mar 2009
Location: Virginia
Posts: 27
Default size change help

is there a way to make it so that whoever zones into a certain zone of my choice becomes a certain size of my choice?
Reply With Quote
  #2  
Old 06-10-2009, 11:00 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Code:
sub EVENT_ENTERZONE{
 quest::playersize(x);
}
put that into the player.pl in that zones quest folder. Obviously, the x represents the size you want them to be.
Reply With Quote
  #3  
Old 06-10-2009, 11:10 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

If you want to make it keep the same proportions (as in trolls, barbarians, etc... being tallest) try this.

Code:
sub EVENT_ENTERZONE{
$size = $client->GetSize();
quest::playersize($size + 5);
}
So now humans which are normally size 6 would be 11 and gnomes which are like size 3 I believe would be size 8.
Reply With Quote
  #4  
Old 06-10-2009, 06:50 PM
kimura0715
Fire Beetle
 
Join Date: Mar 2009
Location: Virginia
Posts: 27
Default

thanks alot man!
Reply With Quote
  #5  
Old 06-10-2009, 06:53 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

No problem. I hope it works for you.
Reply With Quote
  #6  
Old 06-10-2009, 06:54 PM
kimura0715
Fire Beetle
 
Join Date: Mar 2009
Location: Virginia
Posts: 27
Default

im a noob with quests...i dont see a player.pl in the quest folders...

also i cant this to work..do you see any mistakes with it.......


#The_Masochist

sub EVENT_SPAWN {
quest::settimer("repeat", 60); // First trigger after 60 seconds, and every 60 seconds after
}

sub EVENT_TIMER {
if ($timer eq "repeat") {
quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
}
}

Thanks in advance...
Reply With Quote
  #7  
Old 06-10-2009, 07:03 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

The player.pl will be in the zone. Like go to quests/poknowledge/player.pl If there isn't a file called player, then just go into notepad and make your own and name it player.pl. I don't see what's wrong with that quest
Reply With Quote
  #8  
Old 06-10-2009, 08:24 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by kimura0715 View Post
im a noob with quests...i dont see a player.pl in the quest folders...

also i cant this to work..do you see any mistakes with it.......


#The_Masochist

sub EVENT_SPAWN {
quest::settimer("repeat", 60); // First trigger after 60 seconds, and every 60 seconds after
}

sub EVENT_TIMER {
if ($timer eq "repeat") {
quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
}
}

Thanks in advance...

Are you sure that "//" is a valid coment-out character?
try using # instead. Here is a small overhaul of the script:

Code:
sub EVENT_SPAWN 
{
	quest::settimer("repeat", 60);  # First trigger after 60 seconds, and every 60 seconds after
}

sub EVENT_TIMER 
{
	if ($timer eq "repeat") 
             {
	quest::stoptimer("repeat");
	quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
	quest::settimer("repeat", 60); 
	}
}
Reply With Quote
  #9  
Old 06-10-2009, 11:11 PM
kimura0715
Fire Beetle
 
Join Date: Mar 2009
Location: Virginia
Posts: 27
Default

thanks CS, i will try that when i get home...
Reply With Quote
  #10  
Old 06-11-2009, 06:04 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Timers automatically repeat. So if you want it to fire every 60 seconds, you don't have to stop and then start the timer again.
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 01:42 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