From 3474fe93eef3cde085b6a9ee8c7efd4a5e2cddea Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 7 May 2015 20:42:47 -0400 Subject: add a builtin to change npc direction and make them sit --- src/map/clif.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/clif.hpp') diff --git a/src/map/clif.hpp b/src/map/clif.hpp index 862aed9..3cc308c 100644 --- a/src/map/clif.hpp +++ b/src/map/clif.hpp @@ -98,7 +98,10 @@ int clif_useitemack(dumb_ptr, IOff0, int, int); // self void clif_emotion(dumb_ptr bl, int type); void clif_emotion_towards(dumb_ptr bl, dumb_ptr target, int type); void clif_sitting(Session *, dumb_ptr sd); -void clif_sitnpc(dumb_ptr sd, dumb_ptr nd, bool area); +void clif_sitnpc(dumb_ptr nd, DamageType dmg); +void clif_sitnpc_towards(dumb_ptr sd, dumb_ptr nd, DamageType dmg); +void clif_setnpcdirection(dumb_ptr nd, DIR direction); +void clif_setnpcdirection_towards(dumb_ptr sd, dumb_ptr nd, DIR direction); // trade void clif_traderequest(dumb_ptr sd, CharName name); -- cgit v1.2.3-70-g09d2