Esempio n. 1
0
            public override void Load(BinaryReader BR)
            {
                base.Load(BR);

                _ScriptToUsePath = BR.ReadString();

                if (Owner != null)
                {
                    EventToUse = Owner.Copy();
                    EventToUse.Load(_ScriptToUsePath);
                }
            }
Esempio n. 2
0
            public override void Load(BinaryReader BR)
            {
                base.Load(BR);

                _ScriptToUsePath = BR.ReadString();

                if (Owner != null)
                {
                    SubRoutineToUse = Owner.Copy();

                    if (File.Exists("Content/AIs/" + _ScriptToUsePath + ".peai"))
                    {
                        SubRoutineToUse.Load(_ScriptToUsePath);
                    }
                }
            }