Hey guys !
Basically i'm creating a rpg skript and i'd like something like :
But it doesn't work. Any simple workaround ?
Thanks for the help !
EDIT : I found a solution using another variable to "count" the skills and when it reaches the end of the list it goes back to the beginning. It works but that's clearly not optimized so i'm still looking for help !
Basically i'm creating a rpg skript and i'd like something like :
code_language.skript:
set {rp.%player%.skill.active} to the next element out of {rp.%player%.skill::*}
Thanks for the help !
EDIT : I found a solution using another variable to "count" the skills and when it reaches the end of the list it goes back to the beginning. It works but that's clearly not optimized so i'm still looking for help !
Last edited: