ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.21k forks source link

Is there any way to have a note do a dodge animation on miss but not count AS a miss #11438

Closed wubbzyfan closed 1 year ago

wubbzyfan commented 1 year ago

Describe your problem here.

So basically, what it boils down to is having function noteMiss activate so it'll play a dodge animation on it, but not have to deal with the consequences of it counting as miss.

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 response

wubbzyfan commented 1 year ago

@frantastic24 ples

TheKitBoi commented 1 year ago

don’t ping him be patient

wubbzyfan commented 1 year ago

don’t ping him be patient

it's been 3 days

DabbinDude316B commented 1 year ago

You can play animations in the chart at the most, you need source for it to actually happen that way

Draconic-Hybrid commented 1 year ago

Add setPropertyFromGroup('unspawnNotes', i, 'ignoreNote', true); in the function onCreate() in your custom note.

In function noteMiss() you put playAnim('boyfriend', '[whatever your dodge animation is named]', true);

DabbinDude316B commented 1 year ago

Add setPropertyFromGroup('unspawnNotes', i, 'ignoreNote', true); in the function onCreate() in your custom note.

In function noteMiss() you put playAnim('boyfriend', '[whatever your dodge animation is named]', true);

Ignore note makes it so notes don’t count as a miss, so noteMiss will do nothing.

Draconic-Hybrid commented 1 year ago

What about strumNoteHit then? I've seen it before, although I'm less sure about it. Theoretically, it triggers when a note hits a strum, right? Or is it when either player hits a note?