Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IsCompleteCondition for is creature dead

Featured Replies

Presumably, there is a way to test if a specific creature is still alive (using Entry ID (unique to boss/creature) or GUID), as I have seen code where this is done for a range of creatures using isAlive(), but how is this done for say a specific boss/mob?

I cannot do this via a quest as none of my toons have the quests anymore, as in already completed.

Also, is there any information on the API (functions/methods, identifiers, etc. we can use within IsCompleteCondition) ? 

Thanks :)

6 hours ago, CarloBotto said:

Presumably, there is a way to test if a specific creature is still alive (using Entry ID (unique to boss/creature) or GUID), as I have seen code where this is done for a range of creatures using isAlive(), but how is this done for say a specific boss/mob?

I cannot do this via a quest as none of my toons have the quests anymore, as in already completed.

Also, is there any information on the API (functions/methods, identifiers, etc. we can use within IsCompleteCondition) ? 

Thanks :)

Hey CarloBotto

return ObjectManager.GetWoWUnitByEntry(ID).Count == 0;

You can use this. Just change ID to the... ID, yeah. You could instead of this == operator use also >=, <= (less, more than and equal), >, < (less, more) and != (not equal). Just fyi.

You don't need to have the quest. Be sure to check "not required in questlog".

And, you pretty much have to search for them.

  • Author

Awesome, and thanks, nudl :-)

Quote

And, you pretty much have to search for them.

That usually is the case, but a part of the fun :D 

I don't think I have been involved in a single programming related project (user or developer) that did not require searching for code related information! And that includes working for companies like IBM and American Express!!! 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.