View Single Post
  #3  
Old 04-30-2002, 12:10 PM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default

In npc.h, add these parts to the public members of the NPC class.

Code:
	/******************************************************
	WayPoints
	******************************************************/
	
	void SetWayPointStep(uint32 step){ Step=step;}
	uint32 GetWayPointStep(){return Step;}
	uint32 Step;
	
	/******************************************************
	Mob quest engine
	******************************************************/
	void CheckQuests(char* zonename, char * message, int32 npc_id, int32 item_id = 0, bool IsDoorScript = false);
	bool IsEnd(char* string);
	bool IsCommented(char* string);
	char * rmnl(char* nstring);	
	char * strreplace(char* searchstring, char* searchquery, char* replacement);
And add this to the private member:
Code:
	Timer*  waypoint_timer;
Reply With Quote