The PlayStation® Network service interruption has been resolved. Thank you for your patience!
Maintenance for the week of February 25:
• PC/Mac: NA and EU megaservers for patch maintenance – February 25, 3:00AM EST (08:00 UTC) - 10:00AM EST (15:00 UTC)
• Xbox One: NA megaserver for maintenance– February 27, 4:00AM EST (09:00 UTC) - 12:00PM EST (17:00 UTC)
• Xbox One: EU megaserver for maintenance – February 27, 4:00AM EST (09:00 UTC) - 7:00AM EST (12:00 UTC)
• PlayStation®4: NA and EU megaservers for maintenance– February 27, 4:00AM EST (9:00 UTC) - 7:00AM EST (12:00 UTC)
The Wrathstone DLC Game Pack and Update 21 base game patch are now available to test on the PTS! Read the full patch notes here: https://forums.elderscrollsonline.com/en/discussion/454456/

Crouch API question

kookster
kookster
✭✭✭
So I know there is the event OnStealthStateChanged which triggers when you are no longer invisible, visible, or almost visible. I am wondering if there is a event or method that you can use to tell if you are crouched while invisible using like a potion or NB stealth ability. If not then I guess this is a request.
Ebonheart Pact - PC NA
  • kookster
    kookster
    ✭✭✭
    Also as a note GetUnitStealthState(string unitTag) does not return any of a difference while you are invisible and crouched vs invisible and not crouched.
    Ebonheart Pact - PC NA
  • Baertram
    Baertram
    ✭✭✭
    The base game functions for "special moves" (including crouch) are private and thus you are not able to access, use or prehook etc. them:
    * OnSpecialMoveKeyPressed *private* (*[SpecialMove|#SpecialMove]* _moveIndex_)

    * OnSpecialMoveKeyDown *private* (*[SpecialMove|#SpecialMove]* _moveIndex_)

    * OnSpecialMoveKeyUp *private* (*[SpecialMove|#SpecialMove]* _moveIndex_)


    SpecialMove:
    h5. SpecialMove
    * SPECIAL_MOVE_INDEX_BLOCK
    * SPECIAL_MOVE_INDEX_CROUCH
    * SPECIAL_MOVE_INDEX_INTERRUPT
    * SPECIAL_MOVE_INDEX_ROLL_DODGE
    * SPECIAL_MOVE_INDEX_SPRINT


    Taken from ESOUIDocumentationP20.txt from the forums at www.esoui.com

    So I think there is currently no way to differ between crouched and non-crouched stealth. Only stealth or no stealth.
    And there is no way to acieve this via the API, you'd need to aks Zos about a new function like IsPlayerCrouching()
    Edited by Baertram on September 18, 2018 1:06PM
  • kookster
    kookster
    ✭✭✭
    That's what I feared, thanks for the confirmation.
    Ebonheart Pact - PC NA
  • Dolgubon
    Dolgubon
    ✭✭✭
    Unfortunately there's no easy way to get the information, but it is possible through an indirect method. You will need to check to see if an invisibility potion effect is currently active, as well as if an effect from the NB skill is active. There also might be some kind of buff effect you can check for to see if the player is crouching.
    Relthion: CP690 DK Tank
    Malorson: CP690 Mag Sorc

    Addons:
    Dolgubon's Lazy Writ Crafter
    Dolgubon's Lazy Set Crafter
  • kookster
    kookster
    ✭✭✭
    After looping through all of my buffs using: GetUnitBuffInfo("player", index) I couldnt find a buff for being crouched.
    Ebonheart Pact - PC NA
Sign In or Register to comment.