void Start()
 {
     im = GlobalVars.interact_mode;
     aui = GlobalVars.action_text_ui;
     cui = GlobalVars.cursor_ui;
     inv = GlobalVars.inventory;
 }
    public void Start()
    {
        im = GlobalVars.interact_mode;

        dm = GlobalVars.dialogue_manager;

        cui = GlobalVars.cursor_ui;

        dui = GlobalVars.description_ui;
        aui = GlobalVars.action_text_ui;

        if(GlobalVars.database == null || dm == null || im == null || GlobalVars.database == null)
            this.enabled = false; // dont run script if we are missing dependacies
        else
            myData = GlobalVars.database.GetCharacter(CharacterId);

        MouseOver = false;
    }
    void Start()
    {
        rm = GlobalVars.room_manager;
        im = GlobalVars.interact_mode;
        aui = GlobalVars.action_text_ui;

        cui = GlobalVars.cursor_ui;

        MouseOver = false;
    }
    void Start()
    {
        db = GlobalVars.database;
        if(db == null) // no database, means script cant do shit
            this.enabled = false;
        else
        {
            myObjectData = db.GetObject(object_id);

            if(myObjectData == null)
                this.enabled = false;
        }

        im = GlobalVars.interact_mode;

        aui = GlobalVars.action_text_ui;
        di = GlobalVars.description_ui;

        inv = GlobalVars.inventory;

        cui = GlobalVars.cursor_ui;

        MouseOver = false;
    }