Table cell value and random function problem

houssam.almas@hotmail.comhoussam.almas@hotmail.com Member Posts: 21
edited March 2014 in Working with GS (Mac)

Hello i have just finished my game but when I publish it to arcade: the actor that might choose a random number from a table (table cellvalue (..,random(1,4)..) keep changing the number with a high frequency but I don't want this It might have a definite value each time it is spawned to tge screen..I don't have this problem in gamesalad preview

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Everyone here wants help as soon as possible. Please use descriptive titles for your threads.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Also, post a screenshot of your rules.

  • houssam.almas@hotmail.comhoussam.almas@hotmail.com Member Posts: 21
    edited March 2014

    Sorry but I am unable to send screenshot @tatiang but this is the rule:
    If game.playing is true
    do:
    Display text:
    display:(tablecellvalue(game.prime,random (4,17),random(2,10))

  • In gamesalad preview it shows on random number once it is spawned to the screen but in gamesalad arcade it keep changing with a high frequency!
    :s

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I'm not sure why you can't send a screenshot but hopefully you'll get that working so that we can help you better. You can also post a link to download the project file (.zip it first)... that might be quicker as far as solving the problem goes.

  • SingleSparqSingleSparq Member Posts: 1,339

    It may have changed from past (don't publish to arcade myself) but I thought you couldn't use tables with arcade.

Sign In or Register to comment.