private void Player_MoveToAndKeepAutoMove(Vector2 vPos) { // 点击特效 [10/11/2010 Sun] //GameProcedure.s_ProcMain.SetMouseClickedEffect(vPos); //移动指令 CAI_Base pMySelfAI = CObjectManager.Instance.getPlayerMySelf().CharacterLogic_GetAI(); pMySelfAI.PushCommand_MoveTo(vPos.x, vPos.y, true); }
void Player_MoveTo(Vector3 fvAimPos, bool bAutoMove) { // 点击贴花 GameProcedure.s_ProcMain.SetMouseTargetProjTex(fvAimPos.x, fvAimPos.z); //移动指令 CAI_Base pMySelfAI = CObjectManager.Instance.getPlayerMySelf().CharacterLogic_GetAI(); if (pMySelfAI != null) { pMySelfAI.PushCommand_MoveTo(fvAimPos.x, fvAimPos.z, bAutoMove); } // 当玩家主动点击的时候取消自动寻路 [8/3/2011 ivan edit] StopAutoMove(); }