Results 1 to 4 of 4

Thread: Recognizing Wards lifetime

  1. #1
    Basic Member
    Join Date
    Dec 2016
    Posts
    163

    Recognizing Wards lifetime

    Hi

    can we access to wards current cooldown in each frame using GetRemainingLifespan()? anyone used this already?

    also we may access to all wards using GetUnitList() and return handle to each of them but is there anyway to find out how much time does this ward have to be alive?


    thanks

  2. #2
    modifier on the ward handle

  3. #3
    Basic Member
    Join Date
    Mar 2012
    Posts
    1,758
    Not sure if this works as well: GetRemainingLifespan()
    Explanations on the normal, high and very high brackets in replays: here, here & here
    Why maphacks won't work in D2: here

  4. #4
    Basic Member
    Join Date
    Mar 2012
    Posts
    1,758
    OK, I tested both methods and only the modifier one works, like Mage Knight said. To check it, use the modifier_item_buff_ward modifier. Do NOT hardcode the code with GetModifierName(0) since sentries also have the modifier_item_ward_true_sight modifier and you never know what modifier is on position 0.
    Keep in mind the modifier array is zero-based.
    Last edited by The Nomad; 06-25-2017 at 04:18 AM.
    Explanations on the normal, high and very high brackets in replays: here, here & here
    Why maphacks won't work in D2: here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •