Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - dark1973

Pages: [1]
1
Scripting / help to find letter postion
« on: November 12, 2018, 02:05:27 AM »
Hi. i need help regarding this code:

local charlist = [ "a", "b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0"];

//return the first letter of the game
function firstletter()
 {
        local pstrip = fe.game_info(Info.Title).slice(0,1);
        return pstrip;
 }

//return the index position of letter game
function findchar()
 {
   local pstrip = fe.game_info(Info.Title).slice(0,1);
        foreach (index, item in charlist)  {
  if (item == pstrip)  {
    return index;
  }
}
 }

local lettera = fe.add_text( "[!firstletter] ", 25+[!findchar], 25, 70, 35 );

i have an error "null 0x000"returnig the value index.

...if (item == "d").... in this case index value is "3" correct

 My goal is to create an alphabet bar with char select. Please Help

2
Scripting / How to convert a letter into a number?
« on: August 30, 2018, 03:32:53 AM »
Hi
hello, I would like to convert a letter (first char of Game name) into numerical value in order to insert a circle on an image with all the letters of the alphabet
Thanks

3
General / How to update to last version
« on: August 19, 2018, 08:25:30 AM »
Hi.
is there a procedure to update the program without deleting the configuration?
Thanks

4
Themes / Add info in system Menu
« on: August 11, 2018, 03:18:34 AM »
Hi,
how can I add system info/specs (console type, year, number of games) in system menu, display it on a text box on the theme I selected?

Thanks

Pages: [1]