You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use FML script builder with build in elements and custom scripts, but currently it's missing ability to inject script partials to the rendered script. Could it be possible to add pure string data to following positions:
before main()
inside main()
inside loop
I know it's possible to use labels, but it's not quite enough.
Current implementation adds <script> elements when needed, and FML script element is appended to last element. Problem comes, if I define global variables and functions at custom script, i get ManiaScript error, since #Import needs to be first statements for the script, now it's being middle of the rendered script.
The text was updated successfully, but these errors were encountered:
Hey,
I would like to use FML script builder with build in elements and custom scripts, but currently it's missing ability to inject script partials to the rendered script. Could it be possible to add pure string data to following positions:
I know it's possible to use labels, but it's not quite enough.
Current implementation adds <script> elements when needed, and FML script element is appended to last element. Problem comes, if I define global variables and functions at custom script, i get ManiaScript error, since #Import needs to be first statements for the script, now it's being middle of the rendered script.
The text was updated successfully, but these errors were encountered: