Can we modify the order of Items in a String Array in the Inspector?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stoff

Hey everybody! :slight_smile:

Is it possible to modify the order of Items in a String Array in the Inspector?
I am currently using a custom Resource to hold dialog texts in a String Array:

extends Resource
class_name Dialog
export(Array, String, MULTILINE) var texts

It is a bit annoying to use however, as I don’t see how I can change the order of the dialogs or even enter a new text in between two already exisitng ones.
The only thing I can seem to do is extend the array length and copy / paste stuff around.

Is there a way to handle this better?
Also is there any documentation what Export Hints exist? (like “MULTILINE”) I couldn’t find it myself.

Thanks for your help! :slight_smile:

:bust_in_silhouette: Reply From: magicalogic

I don’t know how to set the order but here is the documentation for export hints.