Results 1 to 2 of 2

Thread: (ogl) Searching for a model/texture inside a tbox?

  1. #1
    Join Date
    Dec 2014
    Posts
    48
    Mentioned
    2 Post(s)
    Quoted
    28 Post(s)

    Default (ogl) Searching for a model/texture inside a tbox?

    As the title suggests, I'm wondering if given a tbox, how to only search for and interact with models and textures within that tbox.
    For example, in this scenario, the script tries to click on the pouch circled in green, instead of the actual giant pouch in the pack screen box:
    Simba Code:
    procedure test
    begin
    tmouse.rightClickOption(ogl.gettextures(142290)[0].randomizepointellipse(20), ['Fill'], randomrange(400,500));
    end;

    If there is a way to only consider models within the red-marked rectangle, please let me know.
    Help is appreciated, thanks - and apologies if this ends up being a dumb question

  2. #2
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    All ogl.get*() methods accept a tBox parameter.




    Skype: obscuritySRL@outlook.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •