Examples of defineNewMovingTask()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.defineNewMovingTask()

        if (_actor instanceof L2PcInstance && (_actor.isAttackingNow() || _actor.isCastingNow()) && !_actor.isMoving()) {
            L2PcInstance player = (L2PcInstance) _actor;
            // start MoveOnAttack Task
            // Schedule a move task
            if (!player.isMovingTaskDefined()) { // if not already started the task
                player.defineNewMovingTask(pos);
            } else {
                player.modifyMovingTask(pos);
            }

            // Cancel action client side by sending Server->Client packet ActionFailed to the L2PcInstance actor
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.