Home

2024

Worklog

LETSGO Game

SetThird connected to PhaseManager

Date
September 14, 2024
Hours
2.5
Tags
UnrealCodeC++LETSGO

Got SetThird connected to Phase Manager fairly easily:

Also took the time to update my UE_LOG types from LogTemp to LogLetsgo

I then added a quick Sleep phase that chills for x seconds, to give some buffer time between SetTonic and SetThird

That’s when I noticed SetThird wasn’t actually working correctly. It was always pulling the notes [Eb, E].

That revealed a silent crash (in editor mode) that only really crashed when running debug mode from IDE.

It was weird, but I fixed it by updating AddDynamic to AddUniqueDynamic when binding to the AudioPlatform→OnAudioPlatformTriggered

Very cool, then the last issue was SetThird always pulling the same notes. Ended up being an easy fix as well- I was getting the Tonic before the Tonic was actually set. I moved this logic to only happen on Activate (before it was on Initialize) and it started working.

We’re moving right along!