Jump to content
Sign in to follow this  
Adham

Quest Problem

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 )

  • Thanks 1

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

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 )

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...