#In-Game Script Switcher and Import File Editor

2 messages · Page 1 of 1 (latest)

undone flame
#

I would like to have something like a drop-down menu as a basic in-game UI, which allows me to switch between different scripts.
Also, if a file creation feature for import files could be added, I think it would make using import files much easier.

Indeed, it is already possible to display buttons in the game using scripts and switch between scripts.
However, there is currently a character limit for scripts, and when writing longer ones, it becomes necessary to use import files.
And those import files have to be edited with an external text editor.
If all of this could be done entirely within the game, it would enhance immersion and make editing and operation much more convenient.

teal drum
#

There are things you can do similarly

You can have your scripts as a function you can set true or false to switch between, you could link a button on screen too
I don't have an example for a function rn

It's possible to edit imports using a funky thing, but you have to know the varibles and code to edit it
Example and shameless self plug:

var Mech = import Cosmetics/Mech
Mech.MechColor = #colour
import Cosmetics/Mech