Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2008, 04:41 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

You mean... like EVENT_COMBAT? Or are you looking for something that it can't do?
Reply With Quote
  #2  
Old 04-26-2008, 05:37 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Sorry, I am not familiar with that event. What does it do exactly? I have checked the quest lexicon and the wiki here:

http://www.eqemulator.net/wiki/wikka...=QuestTutorial

But I didn't see anything that looked like it could do what I wanted. If event_combat will let me do something when the mob leaves combat, then that should work.

I need to have some NPCs set to send a signal to another NPC if they leave combat/lose agro.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 04-26-2008, 06:49 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

It basically is called when you initiate combat with a npc and leave combat. It exports $combat_state 1 for entering combat 0 for leaving combat. Or at least that is the idea.
Reply With Quote
  #4  
Old 04-27-2008, 05:37 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Updated the wiki to include sub EVENT_COMBAT and the two new events in the new build.
Reply With Quote
  #5  
Old 05-05-2008, 04:56 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I finally got around to testing this and it worked just as I needed. I was curious if there was a way to use it to actually reset combat mode on an NPC. Something like this:
Code:
If ($signal == 1 ) { quest::combat_state (0); }
If not, no biggie though. I could only think of a few rare cases where that might be useful.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 05-05-2008, 05:11 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by trevius View Post
I was curious if there was a way to use it to actually reset combat mode on an NPC.
Wouldn't that be the same as clearing all aggro? If so, you can use this:
Code:
$mob->WhipeHateList()
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #7  
Old 05-05-2008, 07:52 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

There's very little (if anything) that you "can't" do - especially with this emulator. I've always found a way to work around things even if it was not in the source.

A lot of things here are still left undone because some people think "it can't be done", so they went overlooked.

In the past few days I've discovered more about this than I have in the past months. Surprising how much simple stuff is still undone - almost like there was an "alien race" of Devs that were here before, and left all these things they started behind
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:01 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