ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.14k stars 2.2k forks source link

runHaxeCode() problem with LUA (*StrumGroups*) #15780

Open AndrewMiner100 opened 4 hours ago

AndrewMiner100 commented 4 hours ago

Describe your bug here.

I am trying to make a song where the scroll type(middle and side scroll) change and hopefully adding left and right scroll-types as well, but right now, even though the scroll types are changing (from middle to side), there are is an error that keeps appearing that says the Strum group is an unknown variable.

The page says it is either source or lua, but my mod contains and uses both, source is working just fine at the moment

Friday Night Funkin'_ Vs Sonic MEX V1 10_22_2024 5_07_41 PM

here is also the script I am using for the change scroll type

Change Scrolltype lua - FNF-Sonic MEX-Version 1 source - Visual Studio Code 10_22_2024 5_14_47 PM

Command Prompt/Terminal logs (if existing)

No response

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

Yes, menu, songs, nothing that has truly affected the scroll (besides the lua script right now)

2JENO commented 2 hours ago

hscript api is changed to iris so maybe need class idk

AndrewMiner100 commented 55 minutes ago

I don't remember exactly what version of psych engine this mod was made in, but I am thinking that it is like 0.6.3 if I recall correctly, but I'll look more into iris and see if that helps at all