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 08-30-2008, 07:09 PM
Deimos
Hill Giant
 
Join Date: Jun 2004
Posts: 135
Default A few PERL requests

quest::spawnobject(modelpath, facing x, facing y, x, y, z,) (objects as in placeable objects like barrels, firepits, etc).

quest::despawnobject(id)

quest::damage(type,id) (type for player or npc)

quest::getcx(type,id) (for x, y, and z) (would return the x or w/e coordinate for players or npcs or objects)

quest::getid(type,type2,x,y,z,range) (would return an array with all npc or player ids or object ids within range of the NPC or Player or Coordinates. Coordinate values don't matter if it's set to NPC or Player.) Returning an array would just set a local variable array. You can also get the maximum index for that variable with a PERL function.

quest::target(type, npc/player id or null for no target) (sets player's target)


sub EVENT_TARGET (whenever a player targets (left clicks) an NPC)
sub EVENT_CONSIDER (whenever a player considers (right clicks) an NPC)
sub EVENT_CAST (this is whenever a player casts a spell in a zone)
sub EVENT_TEXT (this is whenever a player talks in a zone)

Cast and text could be modified to within a range, but either way it'd work
__________________
//The Path of Chaos Server-
//Fate Industries
//Lots of stuff O-o
Reply With Quote
  #2  
Old 08-30-2008, 10:20 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default Ouch

Some of those would be resource intense.. especially the target.
Reply With Quote
  #3  
Old 08-30-2008, 10:26 PM
Deimos
Hill Giant
 
Join Date: Jun 2004
Posts: 135
Default

You could limit it to a specific NPC that processes the information and limit it to a specific zone.

As long as it's possible to have these scripts run off of these events then it should increase the capabilities you can do in EQEMu servers. For example, some guy might want to make an alternate combat system and so they might have an invisible 3D grid through out the zone that allows players to click and attack in that direction. Or they might want to make something like a client menu... or there are just lots of other uses for quite a bit of this...

And yes, I have a typo in the quest::getcx : P, and I bet you can guess what it is. ; D.

I'm just hoping if a dev can add this stuff in so I can start to work on the server I really want to work on : P. I just posted the bare min of what I needed to get everything working properly : D. I also talked to some people from other servers and they were excited about being able to use some of this stuff, especially quest::spawnobject. ^_^
__________________
//The Path of Chaos Server-
//Fate Industries
//Lots of stuff O-o
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 06:08 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