Adham 6 Report post Posted May 29, 2022 here is my mission script Hide contents DefineMission( 64411, "hola", 64411 ) MisBeginAction(AddMission, 64411) MisBeginAction(SetFlag, 64411, 1) MisBeginAction(AddTrigger, 644111, TE_GETITEM, 2604, 20) MisCancelAction(ClearMission, 64411) MisNeed(MIS_NEED_ITEM, 2604, 20, 10, 20 ) MisResultCondition(HasMission, 64411) MisResultCondition(HasFlag, 2005, 29 ) MisResultAction(AddMoney, 1000000, 1000000 ) --MisResultAction(SetRecord, 64411 ) MisResultAction(ClearMission, 64411 ) MisResultBagNeed(20) InitTrigger() TriggerCondition( 1, IsItem, 2604) TriggerAction( 1, AddNextFlag, 64411, 10, 20 ) RegCurTrigger( 644111 ) here what the system ys , when i get the item needed it no count .. just red color but no effect https://ibb.co/wsVQvx4 @ShadowJr@V3ct0r u can help me XD ? Quote Quote Share this post Link to post Share on other sites
ShadowJr 18 Report post Posted May 29, 2022 Have you tried using smaller values? DefineMission( 6442, "hola", 6441 ) MisBeginAction(AddMission, 6441) MisBeginAction(SetFlag, 6441, 1) MisBeginAction(AddTrigger, 64411, TE_GETITEM, 2604, 20) MisCancelAction(ClearMission, 6441) MisNeed(MIS_NEED_ITEM, 2604, 20, 10, 20 ) MisResultCondition(HasMission, 6441) MisResultCondition(HasFlag, 2005, 29 ) MisResultAction(AddMoney, 1000000, 1000000 ) --MisResultAction(SetRecord, 6441 ) MisResultAction(ClearMission, 6441 ) MisResultBagNeed(20) InitTrigger() TriggerCondition( 1, IsItem, 2604) TriggerAction( 1, AddNextFlag, 6441, 10, 20 ) RegCurTrigger( 64411 ) 1 Quote Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 lemme try Quote Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 can u just edit the code and send it to me here please cos i don`t know wat u mean #values the mount of items u mean ? or XD im new bro Quote Share this post Link to post Share on other sites
ShadowJr 18 Report post Posted May 29, 2022 Check first if there are no other quests with this ID! DefineMission( 643, "hola", 644 ) MisBeginAction(AddMission, 644) MisBeginAction(SetFlag, 644, 1) MisBeginAction(AddTrigger, 6441, TE_GETITEM, 2604, 20) MisCancelAction(ClearMission, 644) MisNeed(MIS_NEED_ITEM, 2604, 20, 10, 20 ) MisResultCondition(HasMission, 644) MisResultCondition(HasFlag, 2005, 29 ) MisResultAction(AddMoney, 1000000, 1000000 ) --MisResultAction(SetRecord, 644 ) MisResultAction(ClearMission, 644 ) MisResultBagNeed(20) InitTrigger() TriggerCondition( 1, IsItem, 2604) TriggerAction( 1, AddNextFlag, 644, 10, 20 ) RegCurTrigger( 6441 ) Quote Share this post Link to post Share on other sites
ShadowJr 18 Report post Posted May 29, 2022 That could be the problem, HasFlag is for Kill and your mission has no kill MisResultCondition(HasItem, 2604, 20 ) Quote Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 ok there is no errors .. and the count is perfect , but i can`t finish the mission using ur quest Quote Share this post Link to post Share on other sites
Adham 6 Report post Posted May 29, 2022 nvm i just changed that one to has item and it works , luv u thx for helping XD 2 Quote Share this post Link to post Share on other sites