Announcement

Collapse
No announcement yet.

Able Ability System Info and Support Thread

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by shadowkami View Post
    Something wrong with collision query node,i want set BoxShape's Rotation,but this location become far the way.How can I set rotation make this Box' location true.
    Can you post an image with what you are seeing (as well as the parameters for the rotation)?

    Leave a comment:


  • replied
    Something wrong with collision query node,i want set BoxShape's Rotation,but this location become far the way.How can I set rotation make this Box' location true.

    Leave a comment:


  • replied
    Originally posted by ophi42 View Post
    Hi, there. The Spawn Actor Task Location "Use Socket Rotation" seems to be broken. When I enable it the actors are spawned close to the origin instead of source. Looking at the code it looks like the component-space transform of the socket is used in this case instead of world space transform. This is in UE4.18 and able 2.15. Am I missing something maybe? Cheers!
    Hmm, that could just be a space problem as you point out. I'll investigate and if it's just the component space vs world space - I'll get a fix in for this upcoming update.

    Leave a comment:


  • replied
    Hi, there. The Spawn Actor Task Location "Use Socket Rotation" seems to be broken. When I enable it the actors are spawned close to the origin instead of source. Looking at the code it looks like the component-space transform of the socket is used in this case instead of world space transform. This is in UE4.18 and able 2.15. Am I missing something maybe? Cheers!

    Leave a comment:


  • replied
    Originally posted by ExtraLifeMatt View Post

    There's also a CustomCanBranchTo method that allows you to check things before a branch is queued up (and subsequently fails). Put your Stamina check there as well and it shouldn't queue up the branch (and thus the ability will play completely).
    That's perfect! Not sure how I missed that, thanks!

    Leave a comment:


  • replied
    Originally posted by jfaztk View Post
    Just tried using it; while I can definitely use it for other abilities, it won't work for my melee attacks because you can cancel out of the animation (previous combo strike) if you try attacking during the branch and don't have enough stamina. In my case, I want the ability to play completely if you don't have enough stamina, this method lets the player branch out of it (even though the next one doesn't execute.) Thanks anyways!
    There's also a CustomCanBranchTo method that allows you to check things before a branch is queued up (and subsequently fails). Put your Stamina check there as well and it shouldn't queue up the branch (and thus the ability will play completely).

    Leave a comment:


  • replied
    Just tried using it; while I can definitely use it for other abilities, it won't work for my melee attacks because you can cancel out of the animation (previous combo strike) if you try attacking during the branch and don't have enough stamina. In my case, I want the ability to play completely if you don't have enough stamina, this method lets the player branch out of it (even though the next one doesn't execute.) Thanks anyways!

    Leave a comment:


  • replied
    Originally posted by ExtraLifeMatt View Post
    For that there is an BP method called "CustomCanAbilityExecute" that is called before each Ability is executed. So that's where you would do your stamina check. There isn't a C++ version just yet (you could wrap your check in a simple C++ BP Function Library and call that), but I'll put that on my list for the C++ additions for the next update.
    Ahhhh I did not know that, that actually works better! Thanks.

    Leave a comment:


  • replied
    Originally posted by jfaztk View Post

    Alright, looking forward to it! I need because I want to put a "stamina cost" variable inside my melee attack ability (which will serve as the parent for every melee attack) and I need access to it in C++ to make sure the character has enough Stamina before actually executing the ability.
    For that there is an BP method called "CustomCanAbilityExecute" that is called before each Ability is executed. So that's where you would do your stamina check. There isn't a C++ version just yet (you could wrap your check in a simple C++ BP Function Library and call that), but I'll put that on my list for the C++ additions for the next update.
    Originally posted by fernmerc View Post
    Will the dynamic loop count be in the next version? Just wondering, in case I have to add it myself (I rather not diverge from the original though )
    Yes.

    Leave a comment:


  • replied
    Will the dynamic loop count be in the next version? Just wondering, in case I have to add it myself (I rather not diverge from the original though )

    Leave a comment:

Working...
X