Hey all,
I started out in the cut-scenes forum but moved it here since you might be able to help more, basically I've hit a snag in my Final Year Project for university that I could use some help with as this is my first time using the DragonAge Toolset, and am still trying to come to grips with basic functionality xD
What I need to do is have a scenario where you enter a conversation with an NPC, and then at some point, the NPC will make a dash for a dagger nearby. However since the conversation has ended at this point, the player has the opportunity to get to the dagger first (this is an important part, so can't be skipped as such) and dependant on who gets the dagger, the NPC will initiate one of two conversations.
I have all 3 conversations written for testing this, but I'm honestly not sure how I would go about how to make it object dependant.
If anyone could offer my some help, it would be greatly appreciated.
Conversation Branching dependant on an item.
Débuté par
demideviluk
, mars 22 2010 07:21
#1
Posté 22 mars 2010 - 07:21
#2
Posté 22 mars 2010 - 10:31
You could probably use a defined plot flag for it.
Modifié par FollowTheGourd, 22 mars 2010 - 10:35 .
#3
Posté 22 mars 2010 - 10:44
Within a defined flag, you'd probably want to use something like this:
if (UT_CountItemInInventory(r"my_item.uti") > 0)
{
nResult = TRUE;
}
However, in your case there are a great many different ways to go about the problem; depending on exactly what you intend to happen. Is the conversation going to be initiated exactly when the dagger is picked up? How do you plan to make the NPC loot the dagger? I'd worry about getting it to work without the branching before trying to figure out the branching.
if (UT_CountItemInInventory(r"my_item.uti") > 0)
{
nResult = TRUE;
}
However, in your case there are a great many different ways to go about the problem; depending on exactly what you intend to happen. Is the conversation going to be initiated exactly when the dagger is picked up? How do you plan to make the NPC loot the dagger? I'd worry about getting it to work without the branching before trying to figure out the branching.





Retour en haut






