示例#1
0
        public static NinecReaper CreateP(Sim Actor, Sim Target, CustomRun customRun, InteractionPriority priority)
        {
            NinecReaper ii = NinecReaper.Singleton.CreateInstance(Target, Actor, priority, false, true) as NinecReaper;

            ii.customRun = customRun;
            return(ii);
        }
示例#2
0
        public static NinecReaper Create(Sim Actor, Sim Target, CustomRun customRun)
        {
            NinecReaper ii = NinecReaper.Singleton.CreateInstance
                                 (Target, Actor, new InteractionPriority(InteractionPriorityLevel.MaxDeath), false, true) as NinecReaper;

            ii.customRun = customRun;
            return(ii);
        }
示例#3
0
        public static NinecReaper AddToInteranctionQueue(Sim Actor, Sim Target, CustomRun customRun, InteractionPriority priority, bool isAutonomous, bool cancellableByPlayer)
        {
            if (Actor == null || Actor.InteractionQueue == null)
            {
                return(null);
            }
            NinecReaper ii = NinecReaper.Singleton.CreateInstance(Target, Actor, priority, isAutonomous, cancellableByPlayer) as NinecReaper;

            ii.customRun = customRun;
            Actor.InteractionQueue.Add(ii);
            return(ii);
        }
示例#4
0
        public static NinecReaper AddToInteranctionQueue(Sim Actor, Sim Target, CustomRun customRun)
        {
            if (Actor == null || Actor.InteractionQueue == null)
            {
                return(null);
            }

            NinecReaper ii = Create(Actor, Target, customRun);

            ii.customRun = customRun;
            Actor.InteractionQueue.Add(ii);

            return(ii);
        }