| 1099 | } |
| 1100 | |
| 1101 | static void ArcadeTalkMove(AIGroupContext* context) |
| 1102 | { |
| 1103 | STATE_PREFIX |
| 1104 | if (group->IsPlayerGroup()) |
| 1105 | { |
| 1106 | return; |
| 1107 | } |
| 1108 | |
| 1109 | Vector3 posN; |
| 1110 | if (!GetTalkTarget(context, posN)) |
| 1111 | { |
| 1112 | context->_fsm->SetState(SArcadeSync, context); |
| 1113 | return; |
| 1114 | } |
| 1115 | |
| 1116 | mission->_destination = posN; |
| 1117 | |
| 1118 | Command cmd; |
| 1119 | cmd._message = Command::Move; |
| 1120 | cmd._destination = posN; |
| 1121 | cmd._discretion = Command::Undefined; |
| 1122 | cmd._context = Command::CtxMission; |
| 1123 | group->SendCommand(cmd); |
| 1124 | } |
| 1125 | |
| 1126 | static void CheckArcadeTalkMove(AIGroupContext* context) |
| 1127 | { |
nothing calls this directly
no test coverage detected