Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-12-2004, 01:07 PM
8ball
Fire Beetle
 
Join Date: Sep 2004
Posts: 12
Default movenpc function

i couldnt find a function to move an npc so i decided to make one
there may be a few errors since i only know the basics of C++

parser.cpp
Code:
else if (!strcmp(strlwr(command),"movenpc")) { 
if (other) other->MovePc((atoi(arglist[0])),(atof(arglist[1])),
 (atof(arglist[2])),(atof(arglist[3])));
embparser.cpp
Code:
"sub movenpc{push(@cmd_queue,{func=>'movenpc',args=>join(',',@_)});}"
if there are any errors please post here with a fix. i dont have a server so i dont have a way to test it.
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:39 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