HouseOptions¶
Methods to interact with the house options that live on the options gametab.
THouseOptions¶
Main record responsible with interacting with the house options.
HouseOptions.SetupGameTab¶
procedure THouseOptions.SetupGameTab();
Internal method used to setup the THouseOptions coordinates. This is automatically called for you on the HouseOptions variable.
HouseOptions.IsOpen¶
function THouseOptions.IsOpen(): Boolean;
Returns True/False on whether the house options are open.
Example:
WriteLn HouseOptions.IsOpen();
HouseOptions.WaitOpen¶
function THouseOptions.WaitOpen(time: Integer = 600; interval: Integer = -1): Boolean;
Returns true if the house options open within time milliseconds.
Example:
WriteLn HouseOptions.WaitOpen();
HouseOptions.Open¶
function THouseOptions.Open(): Boolean;
Attempts to open the house options on the options gametab.
This method is overriden after Options, for more information check HouseOptions.Open override.
Example:
WriteLn HouseOptions.Open();
HouseOptions.Close¶
function THouseOptions.Close(): Boolean;
Attempts to close the house options.
Example:
WriteLn HouseOptions.Close();
HouseOptions.ExpelGuests¶
function THouseOptions.ExpelGuests(): Boolean;
Attempts to expel guests through the house options button.
Example:
WriteLn HouseOptions.ExpelGuests();
HouseOptions.CallServant¶
function THouseOptions.CallServant(): Boolean;
Attempts to call the house servant through the house options button.
For this to work you need to have a servant at your house and a bell-pull.
Example:
WriteLn HouseOptions.CallServant();
HouseOptions.LeaveHouse¶
function THouseOptions.LeaveHouse(): Boolean;
Attempts to leave the house through the house options button.
Example:
WriteLn HouseOptions.LeaveHouse();
HouseOptions variable¶
Global THouseOptions variable.