What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

"If Condition" Question.

Megser

Well-Known Member
Joined
Apr 17, 2010
Messages
1,389
Reaction score
73
So, here we go.

PHP:
<If Condition="((!HasQuest(24861)) &amp;&amp; (!IsQuestCompleted(24861)))" >

This is if the quest is in the log and completed, right? But I want it to be, quest is in log but not completed. But how do I do that?


Thanks for any help.
 
Last edited:
PHP:
			<If Condition="((!HasQuest()) &amp;&amp; (!IsQuestCompleted()))" >
				<CustomBehavior File="FlyTo" 
				<CustomBehavior File="ForcedDismount" />
			</If>
			<If Condition="((HasQuest()) &amp;&amp; (!IsQuestCompleted()))" >
				<CustomBehavior File="FlyTo" 
				<CustomBehavior File="ForcedDismount" />
			</If>
			<If Condition="((HasQuest()) &amp;&amp; (IsQuestCompleted()))" >
				<CustomBehavior File="FlyTo" 
				<CustomBehavior File="ForcedDismount" />
			</If>

doesn't have quest and isn't completed
has quest and isn't completed
has quest and is completed
 
Hmm, so it's the same for all three?

I want it to use an item.

If it already has the quest it just tries to pick it up.

Take a look:

PHP:
<PickUp QuestName="Last Rites, First Rites" QuestId="24861" GiverName="Chief Hawkwind" GiverId="2981" />
               <If Condition="((!HasQuest(24861)) &amp;&amp; (!IsQuestCompleted(24861)))" >
                     <UseItem ItemId="50465" QuestName="Last Rites, First Rites" QuestId="24861" X="-2907.939" Y="-254.3848" Z="59.73428" />
             </If>
 
no...

thoroughly look at the code bud. ! means not, or does not. the 3 codes i stuck in there have different places for the ! or none at all
 
Dude, thank you so much. If you weren't helping me I don't think anyone would. Thank you so so so much man. Give so much.


Thanks yet again.
 
Back
Top