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

Hybrid View

  1. #1
    Master
    Join Date
    Nov 2017
    Location
    europa
    Posts
    123
    Rep Power
    244

    Default

    There is a definite flaw in the design of this triple choice:
    each line is assigned the values ​​1, 0, 2 in order, then depending on the selection it is assigned to the group variable "lua.ChangeMapContent"
    but this is defined as a Boolean variable
    MODEL.SET.lua.ChangeMapContent = BOOL_MODEL(true)
    and can therefore only support the values ​​1 and 0, but 2 being of the same effect as 1, it is assigned the value true = 1

    as a result of which TOMTOM and OSM are selected at the same time in the list

  2.    Advertissements


  3. #2
    Member + JanDobies's Avatar
    Join Date
    May 2019
    Location
    Zalewo
    Posts
    41
    Rep Power
    40

    Default

    This is how the map changer is written for two maps, not three, there is an error somewhere in .lua
    Last edited by Boki; 1st October 2024 at 06:33 AM. Reason: removed excessive quote

 

 

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
  •