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); }
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); }
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); }
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); }