samv96UK Posted August 7, 2012 Share Posted August 7, 2012 For a part of a quest I am creating I want an NPC to begin a conversation with the player without the player actually going up to him and talking to him. I assume this is done by the player entering a trigger box, which begins a conversation, but I'm not sure how to pull this off exactly. Below is the situation I want to create: The player walking along the road, then a conversation starts when the player is near the NPC. The NPC then begins a conversation: "Excuse me, do you have a moment? I was wondering if you could help me?" Link to comment Share on other sites More sharing options...
DreamKingMods Posted August 8, 2012 Share Posted August 8, 2012 Look into the ForceGreet AI package template. Link to comment Share on other sites More sharing options...
gasti89 Posted August 8, 2012 Share Posted August 8, 2012 Actually you don't need a trigger. As listed above you just need a forcegreet package, conditioned to a particular stage of the quest. So let's say that before coming to that NPC you are at stage 20. - Create a BLOCKING Branch with your dialogue, condition in to stage 20. - Make your NPC an alias if not already done - Create a Forcegreet package, fill the "topic" field with the new blocking branch. - Fill the other parameters, wich will tell the NPC from what distance he'll run at you, what should he do while waiting you (so when you're at stage 20 but let's say in another city), if he'll need a line of sight to run at you, if he can sandbox while waiting for your and with what radius. Also, usually i make the starting point of the package as "near package start location" with a large radius (assuming that prior to this he was sandboxing). Condition the package to stage 20 too. - Drag this new package in the the NPC alias. - Remember that you must call a new stage when all the dialogues after the forcegreet end (basically when you quit the conversation). If you don't do, as soon as you quit he'll forcegreet you again, since the condition is still valid. Link to comment Share on other sites More sharing options...
samv96UK Posted August 9, 2012 Author Share Posted August 9, 2012 Thanks for the info! Link to comment Share on other sites More sharing options...
Recommended Posts