How to Convert Table integers Scores to Specific Images
DaGreatness
Member Posts: 82
I have a table setup with score and the values in their will be setup as integers. I was wondering i know you can reference an image by using text, but i want to keep the integer value and convert that number which is displayed to an image.
I have 3 images, and depending on the score they get for that level it needs to display that image.
So for example:
say if you have a 300 score, i want it to pin point somewhere and instead of displaying the score in numbers, just display an image for that, and when it is a score of 500 it changes to a different image. Is there anyway to do this? i know you will have to create a save and load attribute as well at the end so it keeps the score, but i need to know how to set this up, i have the general idea on how to do it, but i need to just clear the confusion, if someone can demonstrate it for me that would be great.
Thanks in advance guys
I have 3 images, and depending on the score they get for that level it needs to display that image.
So for example:
say if you have a 300 score, i want it to pin point somewhere and instead of displaying the score in numbers, just display an image for that, and when it is a score of 500 it changes to a different image. Is there anyway to do this? i know you will have to create a save and load attribute as well at the end so it keeps the score, but i need to know how to set this up, i have the general idea on how to do it, but i need to just clear the confusion, if someone can demonstrate it for me that would be great.
Thanks in advance guys
Comments
This will be done on the image(actor which i want to constrain correct)
Constrain attribute game.image to tableCellValue(Table,Row,Column)
In the scoreimage ( score image will be the one that displays the numbers of the scores correct on that actor)
If game.image =1 => change image to 1
(when you say if game.image =1 does that mean that the score is = to 1?)