0 votes

I know you can export a var as a multi-line textbox: export(String, MULTILINE) var textbox

Is it possible to do the same, but in array format? This is what I tried, and it did not work: export(PoolStringArray, MULTILINE) var textboxes

Sources:
- GDScript exports
- PoolStringArray
- ("MULTILINE" is interpreted as a string literal by the gdscript parser)

Godot version 3.3.4-stable
in Engine by (283 points)

1 Answer

0 votes
Best answer

I figured out a work-around, but you can't use PoolStringArray to do it. Instead, make an Array of Strings, and then give them the MULTILINE hint: export(Array, String, MULTILINE) var textboxes

by (283 points)
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 Frequently asked questions and 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 [email protected] with your username.