Jump to content
Adham

Quest TRIGERS wrong ?

Recommended Posts

    DefineMission( 643, "Earn t", 644 )



    MisBeginAction(AddMission, 644)

    MisBeginAction(SetFlag, 644, 1)

    MisBeginAction(AddTrigger, 6441, TE_GETITEM, 2604, 20)  

    MisBeginAction(AddTrigger, 6442, TE_GETITEM, 3457, 20)

    MisCancelAction(ClearMission, 644)



   



    MisNeed(MIS_NEED_ITEM, 2604, 20, 10, 20 )

    MisNeed(MIS_NEED_ITEM, 3457, 20, 20, 20 )



   



    MisResultCondition(HasMission, 644)



    MisResultCondition(HasItem, 2604, 20 )

    MisResultCondition(HasItem, 3457, 20 )





    MisResultAction(AddMoney, 1000000, 1000000 )



    --MisResultAction(SetRecord, 644 )



    MisResultAction(ClearMission, 644 )



    MisResultBagNeed(1)



   



    InitTrigger()



    TriggerCondition( 1, IsItem, 2604)

    TriggerCondition( 1, IsItem, 3457)



    TriggerAction( 1, AddNextFlag, 644, 10, 20 )

    TriggerAction( 1, AddNextFlag, 644, 10, 20 )



    RegCurTrigger( 6441 )

end


i made easy quest of 1 task and it works perfect 
when i added another task , another type of items 
 

there was a new problem with Red Line Ticker 

quest is ok , but i need to turn on the red tick count correctly 

 

@ShadowJr@Angelix

please cheack if there misstakes on my scripts 

 

Share this post


Link to post
Share on other sites

Please don't tag specific people in your threads, if someone sees your threads and wants to help, they will. Tagging someone doesn't ensure they will help you.

 

Also again, take a look at my guide, you have to make a new trigger per item. 

  • Thanks 1

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.


×
×
  • Create New...