ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.16k stars 2.23k forks source link

is there anyway to add good ending and bad ending? #15877

Open Wh4pzkxdd opened 2 weeks ago

Wh4pzkxdd commented 2 weeks ago

Describe your problem here.

i want to add them to an specific song (on psych engine 1.0) something like the dialogue the script but it puts the bad ending or good ending depending on how many times you missed and so it only happens when you finish the week in story mode and doesnt have in freeplay

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows x64

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

no

KillerAvecRage commented 2 weeks ago
local misslimit = 10

function onEndSong()
if isStoryMode then
if misslimit < misses then
[badendingstuff]
else
[goodendingstuff]
end
return Function_Stop
end
end