Helper method for RandomizeFSMState.
См. определение в файле Weapon_Base.c строка 689
690 {
691 array<MuzzleState> muzzleStates = new array<MuzzleState>;
692
693 int nMuzzles = GetMuzzleCount();
694 for (int i = 0; i < nMuzzles; ++i)
695 {
701 else if (IsChamberEmpty(i))
703 else
704 ErrorEx(
string.Format(
"Unable to identify chamber state of muzzle %1", i));
705
706 muzzleStates.Insert(state);
707 }
708
709 return muzzleStates;
710 }
bool IsChamberFiredOut(int idx)
bool IsChamberFull(int idx)
Перекрестные ссылки ErrorEx, IsChamberFiredOut() и IsChamberFull().
Используется в RandomizeFSMState().