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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 05:09 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