Estoy haciendo un juego de busqueda del tesoro pero cuando lo inicio me sale esto (I'm doing a treasure hunt game but when I start it I get this)


que debo de hacer o cual seria la solucion?

1 Like

The answer is there in the error. Somewhere in your setup code you have a list instead of a button.

1 Like

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia

1 Like

busqueda_del_tesoro.aia (205.2 KB)

You need to learn Generic Events, and how to keep components in lists.

Here is a sample for you to study ...

You also tangle up list pregunta here

so the problem is in the procedure "reiniciar"?


is it maybe there?

Maybe, you do not show it all

Screenshot 2023-09-17 175741
maybe this?, or its better sending .aia?

The problem (or one of them...) is here

You can only set a single button component with the any component blocks, e.g. btn1.

You will need to iterate over the list global botones setting each button in turn with the color and enablement.

This section makes list pregunta refer back to itself.

That's usually trouble.

so, its like "set btn1", "btn2"...?

Screenshot 2023-09-17 184239
like this?

so i have to remove them?

You have to align your questions and answers in their respective lists so that the question at index n has corresponding answers in the other lists at that same index n.

Compare the contents of your 4 lists, item by item, using the Do It debugging tool in the Companion.

Do they line up?

like so:

image