A
Alan Régis
Guest
I am working on a RPG character sheet and a have this section which shows the character skills.
Every new entry shows on a list in order of creation (the last entry shows at the top of the list). I need it to be reversed (the last entry shows at the bottom of the list). How can i do that?
Here's my code:
Every new entry shows on a list in order of creation (the last entry shows at the top of the list). I need it to be reversed (the last entry shows at the bottom of the list). How can i do that?
Here's my code:
Code:
if instance_exists(obj_ficha)
{
for (i=1; i < global.skill_counter +1; i++)
{
ds_list_find_value (dsSkillValue, ds_list_size(dsSkillValue)+1*i); // Search for the entry in ds_list
draw_sprite(spr_skill_value, 0 ,obj_ficha.x+470,obj_ficha.y+340+i*19); // Draw Dots equal to the skill value.
}
}