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
|