示例#1
0
        public override bool Execute(VM vm, VMAvatar sim)
        {
            if (sim != null && !sim.Dead)
            {
                // the user has left the lot with their sim still on it...
                // force leave lot. generate an action with incredibly high priority and cancel current

                sim.UserLeaveLot();
            }
            return(true);
        }
示例#2
0
        public override bool Execute(VM vm, VMAvatar sim)
        {
            if (sim != null && !sim.Dead)
            {
                // the user has left the lot with their sim still on it...
                // force leave lot. generate an action with incredibly high priority and cancel current
                // TODO: timeout for forceful removal

                sim.UserLeaveLot();
            }
            return true;
        }