Page 1 of 1
combat hook
Posted: Sat Jul 29, 2006 2:51 pm
by degree
i need to write new combat system - i want to set many things, for example chance to hit, amount of attacks during given time etc... how to do it? can somebody show me example of hook? i've tried to read about that, but i dont know every word in english and its really hard to understand, so I hope, that somebody can show me example of as short as it necessary script
respects
Posted: Tue Aug 01, 2006 11:14 pm
by tekproxy
There is an example in the distro of a combat hook. It's a system hook, and it needs to be as lean as possible since it's going to be called many times. It's quite a pain to handle everything yourself, have fun!
Posted: Wed Aug 02, 2006 12:36 am
by Austin
^-- What Tekproxy said
You can find an
example of a combat hook script here
http://svn.sourceforge.net/viewvc/pol-d ... iew=markup
It isnt finished but the general idea is there and it does work.