MCPcopy Create free account
hub / github.com/Voidware-Prohibited/ALSXT / InputToggleGait

Method InputToggleGait

Source/ALSXT/Private/AlsxtCharacter.cpp:2156–2169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2154void AAlsxtCharacter::OnFootprintsStateChanged_Implementation(const FAlsxtFootprintsState& PreviousFootprintsState) {}
2155
2156void AAlsxtCharacter::InputToggleGait()
2157{
2158 if (CanToggleGait())
2159 {
2160 if ((GetDesiredGait() == AlsGaitTags::Walking))
2161 {
2162 SetDesiredGait(AlsGaitTags::Running);
2163 }
2164 else
2165 {
2166 SetDesiredGait(AlsGaitTags::Walking);
2167 }
2168 }
2169}
2170
2171void AAlsxtCharacter::InputToggleCombatReady()
2172{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected