public bool IsScriptValid() { bool IsValid = true; if (ValidationTools.CheckObjectExistence(Coords) == false || ValidationTools.CheckMapExistence(Coords) == false) { Coords.Map = Guid.Empty; IsValid = false; } return(IsValid); }
public bool IsScriptValid() { bool IsValid = true; if (ValidationTools.CheckObjectExistence(GameCore.Instance.GetPlayableCharacterById(Character)) == false) { Character = Guid.Empty; IsValid = false; } else if (UseOldCoords == false && (ValidationTools.CheckObjectExistence(Coords) == false || ValidationTools.CheckMapExistence(Coords) == false)) { Coords.Map = Guid.Empty; IsValid = false; } return(IsValid); }