Stelgar 0 Posted October 21, 2017 Share Posted October 21, 2017 Hi all i need to create a quest to speach with npc, summon a Boss and kill it, i try to use 2 different type (interactwithNPC after that killandloot) but my char speack forever wit npc and don't kill the mob, you have some idea? Link to comment https://wrobot.eu/forums/topic/7448-interact-with-npc/ Share on other sites More sharing options...
arkhan 11 Posted October 21, 2017 Share Posted October 21, 2017 hi, You need to add isComplete condition. you need to looking for your mobs id. OR step 1) runcode : // interact with npc step 2) killandLoot Link to comment https://wrobot.eu/forums/topic/7448-interact-with-npc/#findComment-33961 Share on other sites More sharing options...
nudl 74 Posted October 21, 2017 Share Posted October 21, 2017 For the interactWithNpc you can use return ObjectManager.GetWoWUnitByEntry(IDofBOSS).Count == 1; for example Link to comment https://wrobot.eu/forums/topic/7448-interact-with-npc/#findComment-33962 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now