looplist(list) { createnpc($$); wait(100); };
Inheritance: AbstractStoryCommand
        protected override IStoryCommand CloneCommand()
        {
            LoopListCommand retCmd = new LoopListCommand();

            retCmd.m_LocalInfoIndex = m_LocalInfoIndex;
            retCmd.m_LoadedList     = m_LoadedList.Clone();
            for (int i = 0; i < m_LoadedCommands.Count; i++)
            {
                retCmd.m_LoadedCommands.Add(m_LoadedCommands[i].Clone());
            }
            return(retCmd);
        }
Example #2
0
        public override IStoryCommand Clone()
        {
            LoopListCommand retCmd = new LoopListCommand();

            retCmd.m_LoadedList = m_LoadedList.Clone();
            for (int i = 0; i < m_LoadedCommands.Count; i++)
            {
                retCmd.m_LoadedCommands.Add(m_LoadedCommands[i].Clone());
            }
            retCmd.IsCompositeCommand = true;
            return(retCmd);
        }
 public override IStoryCommand Clone()
 {
     LoopListCommand retCmd = new LoopListCommand();
     retCmd.m_LoadedList = m_LoadedList.Clone();
     for (int i = 0; i < m_LoadedCommands.Count; i++) {
         retCmd.m_LoadedCommands.Add(m_LoadedCommands[i].Clone());
     }
     retCmd.IsCompositeCommand = true;
     return retCmd;
 }