Heya all.
I'm sucking at this...and need some major help ◡̈...I'm desperate.
I have a music career simulator game in the works. There are AI-controlled artists who'll randomly write songs. I have 2 arrays thus far for storing data: "ArrayAIStats" and "ArraySongRelease."
"ArrayAIStats" stores and updates information as the game progresses -- information such as the artists' names, their total number of fans, etc..
"ArraySongRelease" is choosing an AI-controlled artist at random, and based off their current number of fans, is generating a total number of plays which their new song will receive.
It's being logged as:
x(0) = artist name
x(1) = song name
x(2) = plays generated
whenever a new song is released, the array adds a new Y entry, and repeats the process.
^ all of this works great.
The issue I'm having is:
I'm trying to create a "Top Songs" layout/event sheet where I display the songs stored in "ArraySongRelease," and sort them in ranking order based off their plays (X=2).
I have 2 texts, and I'm trying to have Text1 show the name and song title, like:
Array.SongRelease.at(0, cur.Y) & " - " & Array.SongRelease.at(1, cur.Y)
and have Text2 show the total number of plays, like:
Array.SongRelease.at(2, cur.Y)
I can't seem to figure it out myself, and would love love love some help!!!