Jump to content

Is there a condition function that detects if the actor is not touching the ground?


Recommended Posts

I'm looking for a condition function that detects is the actor is currently not touching the ground, like when you're jumping or falling and such, i thought maybe "GetIsFlying" or "GetFlyingState" might work but it seems they don't, so is there any condition function that does what i'm looking for? if there's not i would also like to know, i'm just tired of searching.


Any help would be appreciated, thanks in advanced for reading this.

Link to comment
Share on other sites

In Skyrim the ActionLand JumpSoftEnd animation has the condition GetGraphVariableFloat VelocityZ >= 0. I assume there's something similar for fallout 4. Look in GamePlay / Animations in the CreationKit, then look for Character animations and see what conditions they use there for jump and land.

Link to comment
Share on other sites

There are two graph variables bInJumpState (works in 3rd person) and isJumping (1st person). May be used in Condition GetGraphVariableInt, Equal to 1, or Greater than 0. These are most reliable from what i've tried to detect jumping, still wasn't perfect, but on a faster system must be more responsive, i think (used them for Enchantment). Can't say exactly if they detect falling animation hangup or not, but supposedly should, needs specific testing (when you're floating hands-up in a single spot).

 

Have tried PlayerActionActive, but either didn't work in my setup or was more unreliable than said graph variables, though may retry as well.

 

Other things. Condition GetVelocity(Z), GetGraphVariableFloat(VelocityZ), negative values would mean falling but possibly walking down hill too for lower values, don't remember which works better. Though wouldn't help to determine hangup i suppose.

 

Possibly, something else i'm not aware about.

Edited by hereami
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...