CZEboy 29 Posted August 22, 2015 Share Posted August 22, 2015 Hello guys, I would need new quest trigger - pickup So i could do: when 19.pickup begin say("You've just picked up Sword+9'") end or: when pickup with item.vnum == 19 begin say("You've just picked up Sword+9") end Can you help me with C++ part, please ? Link to comment Share on other sites More sharing options...
Premium Avulsed 3 Posted August 22, 2015 Premium Share Posted August 22, 2015 (edited) when 19.pick begin say("You've just picked up Sword+9'") end ^Should work already if the type of the item is 18 / ITEM_QUEST. If you want to change that open char_item.cpp and search for: if (item->GetType() == ITEM_QUEST) quest::CQuestManager::instance().PickupItem (owner->GetPlayerID(), item); Either you add another type to the if statement or simply remove it. Edited August 22, 2015 by Avulsed 3 Link to comment Share on other sites More sharing options...
CZEboy 29 Posted August 22, 2015 Author Share Posted August 22, 2015 Wow, so there is pick trigger already implemented ? The only what i need is to set the type of item to ITEM_QUEST ? So thank you very much, I din't know that Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now