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.