Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 3964

Threaded View

  1. #11
    Master
    Join Date
    Nov 2017
    Location
    europa
    Posts
    129
    Rep Power
    245

    weel

    With a little hindsight here is a small adaptation so that the ux only interferes with the search for parking lots when the truck mode is activated at startup,
    restarting with another type will restore normal operation, however changing the vehicle in use will require a restart of igo to change the filtering status



    function sc_FindParking()
    local park = "Parking"
    if MODEL.route.vehicule_type == 3 then
    park = park .. "\001Rest_Area"
    end
    local search_root = MODEL.poi.find_group(park)
    if search_root == -1 then
    search_root = MODEL.poi.find_group("Automotive\001"..park)
    end
    return search_root
    end


    Please let me know if the expected result is in accordance with the request in the context of operation in truck mode
    Attached Files Attached Files
    Last edited by lunapark; 19th June 2022 at 10:21 PM.

  2.    Advertissements


 

 

Tags for this Thread

Bookmarks

Posting Permissions

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