PDA

Просмотр полной версии : [12805] DBScripts-Engine: Implement new commands


newsbot
03.01.2015, 04:22
Автор: Schmoozerd


<pre style='white-space:pre-wrap;width:81ex'>[12805] DBScripts-Engine: Implement new commands

* Add SCRIPT_COMMAND_SET_FACING to face and focus a unit
* Add SCRIPT_COMMAND_MOVE_DYNAMIC to move to a random point or towards another unit

* Toggle GetRandomPoint function to be able to return a random point with min-distance or a given direction.
* Toggle MovementGenerator::GetResetPosition to be able to return a reasonable orientation for reset.

Ideas and requirement research by virusav!
Thanks to virusav and Grz3s for test-feedback!</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/5060f4a3c243d8f218f186a7d854b211eb4fed34)