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
  #1  
Old 05-07-2011, 01:03 AM
Astal
Hill Giant
 
Join Date: Mar 2010
Posts: 236
Default Using group functions to get if player is in a group ect...

Can anyone explain to me how this can be done? Basically this is what I have now and it dont work.

Im looking to see if player is in a group, if he is, get the group members and put em each in a variable. Then for each member update a task at the same time.

Since the tasks system doesnt have a way to do that.


Code:
sub EVENT_SAY
{
	if($text=~/Hail/i) {
	$member1 = $group->GetMember(1);
	$member2 = $group->GetMember(2);
	$member3 = $group->GetMember(3);
	$member4 = $group->GetMember(4);
	$member5 = $group->GetMember(5);
	$member6 = $group->GetMember(6);
	quest::shout("$member1 $member2 $member3 $member4 $member5 $member6");
	}	
}
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 02:46 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3