Full Version : NoTriggerOnCarried
xmlspawner >>Q&A >>NoTriggerOnCarried
<< Prev | Next >>
malavon- 04-04-2006
Hi Arte!
I have a problem with NoTriggerOnCarried condition. I made quest NPC with GIVE quest. Quest is ok.
But when I set NoTriggerOnCarried to QuestName,questholder and I come to NPC, proximity test goes true and NPC start talking to me.
Can you help me please? Maybe some example of setting NoTriggerOnCarried would be fine.
Thanx a lot.
ArteGordon- 04-04-2006
make sure that you have entered the quest name string exactly.
You have to have all of the spacing and capitalization exactly the same.
Do a
[get name
on the questholder to check the exact string that you need to enter into the NoTriggerOnCarried property.
malavon- 04-04-2006
Something wrong. This is my npc. See you some error?

CODE
<?xml version="1.0" standalone="yes"?> <XmlQuestNPC> <NPC> <Name>Graham</Name> <Running>True</Running>
<ProximityRange>3</ProximityRange>
<NoTriggerOnCarried>GrahamsDagger</NoTriggerOnCarried>
<AllowGhost>False</AllowGhost>
<SpeechPace>10</SpeechPace>
<ResetTime>0,166666666666667</ResetTime>
<SpeechEntries>4</SpeechEntries>
</NPC>
<SpeechEntry>
<EntryNumber>10</EntryNumber>
<ID>10</ID>
<Text>Hello!</Text>
<DependsOn>-1</DependsOn>
<Pause>1</Pause>
<PrePause>-1</PrePause>
<LockConversation>True</LockConversation>
<AllowNPCTrigger>False</AllowNPCTrigger>
<SpeechStyle>Regular</SpeechStyle>
<SpeechHue>-1</SpeechHue>
<Gump>GUMP,Graham,3/Can you bring me a dagger?</Gump>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>20</EntryNumber>
<ID>20</ID>
<Keywords>accept</Keywords>
<Action>GIVE/&lt;questholder/name/GrahamsDagger/notestring/Bring a dagger to Graham/objective1/GIVE,Graham,dagger,1</Action>
<DependsOn>10</DependsOn>
<Pause>1</Pause>
<PrePause>-1</PrePause>
<LockConversation>True</LockConversation>
<AllowNPCTrigger>False</AllowNPCTrigger>
<SpeechStyle>Regular</SpeechStyle>
<SpeechHue>-1</SpeechHue>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>30</EntryNumber>
<ID>30</ID>
<Text>Ok. I ask someone else.</Text>
<Keywords>decline</Keywords>
<DependsOn>10</DependsOn>
<Pause>1</Pause>
<PrePause>-1</PrePause>
<LockConversation>True</LockConversation>
<AllowNPCTrigger>False</AllowNPCTrigger>
<SpeechStyle>Regular</SpeechStyle>
<SpeechHue>-1</SpeechHue>
</SpeechEntry>
<SpeechEntry>
<EntryNumber>0</EntryNumber>
<ID>0</ID>
<Pause>1</Pause>
<PrePause>-1</PrePause>
<LockConversation>True</LockConversation>
<AllowNPCTrigger>False</AllowNPCTrigger>
<SpeechStyle>Regular</SpeechStyle>
<SpeechHue>-1</SpeechHue>
</SpeechEntry>
</XmlQuestNPC>

ArteGordon- 04-04-2006
if you want to make the activation of banter entries (DependsOn = -1) depend on the NoTrigger or TriggerOnCarried setting, then set DependsOn on to -2 instead of -1, otherwise they are just activated by nearby movement.

QUOTE
<EntryNumber>10</EntryNumber> <ID>10</ID> <Text>Hello!</Text> <DependsOn>-2</DependsOn>

malavon- 04-05-2006
Thank you.