0 votes

Hey everybody! :)

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! :)

Godot version v3.3
in Engine by (17 points)

1 Answer

0 votes
Best answer

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

by (1,053 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.