PDA

View Full Version : *add new fuction StartAutoRotate(direction, fullturntime) to creatures, it will rotat


biglad
08-24-2009, 06:43 AM
*add new fuction StartAutoRotate(direction, fullturntime) to creatures, it will rotate any creature 360degrees, turning shouldn't be stopped by taunt and other effects.useful for some boss scripts

src/game/Unit.h (http://bitbucket.org/Azrael/mgacore2/src/732c54fcf1a5/src/game/Unit.h) (23 lines added, 1 lines removed)
src/game/Unit.cpp (http://bitbucket.org/Azrael/mgacore2/src/732c54fcf1a5/src/game/Unit.cpp) (44 lines added, 2 lines removed)


More... (http://bitbucket.org/Azrael/mgacore2/changeset/732c54fcf1a5/)