View Single Post
08-04-07, 01:33 PM   #5
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 275
Originally Posted by romkatv
Thanks a lot for your answers. I've implemented both functions using your tips.

One more question. How can I determine whether player's character is sitting or not?

Roman.
Hook the "sit" key and every combat event that makes your character stand up? :/ Not really a wonderful idea... Maybe checking what actions are available when sitting and comparing to actions available only when standing could work... I'm not really sure how IsUsableAction handles this.
  Reply With Quote