so I have the plot working so that at the end of a convo an npc joins, but there is a second I want to have join as a result of the conversation. Is there a way to make 2 npcs join from the same conversation?
Multiple NPCs joining from a convo
Débuté par
Caldarin V
, janv. 02 2011 06:01
#1
Posté 02 janvier 2011 - 06:01
#2
Posté 02 janvier 2011 - 08:30
I believe it should be possible to do so; you would have to handle adding both in the same script, and only call the party picker once.
#3
Posté 03 janvier 2011 - 09:09
Yes, you can do this. Typically, you'd set a plot flag in conversation to trigger joining, handling that event in the plot script. There's no reason why you can't have two plot flags on different conversation nodes for the two followers.
If you're not using the partypicker, both followers will join at end of conversation.
I'm not sure what happens if you request a partypicker launch twice in the same conversation. If it doesn't work, you'd need to modify the join plot script to defer partypicker launch until end of dialogue.
The only issue I've encountered with simultaneous joiners is with a test script that uses CreateObject to make an instant party with three followers. I find that a one second delay between Create Object and setting the join plot flag prevents engine meltdown. In conversation that's not a problem.
If you're not using the partypicker, both followers will join at end of conversation.
I'm not sure what happens if you request a partypicker launch twice in the same conversation. If it doesn't work, you'd need to modify the join plot script to defer partypicker launch until end of dialogue.
The only issue I've encountered with simultaneous joiners is with a test script that uses CreateObject to make an instant party with three followers. I find that a one second delay between Create Object and setting the join plot flag prevents engine meltdown. In conversation that's not a problem.
#4
Posté 03 janvier 2011 - 05:33
Thanks Proleric and Lady!
#5
Posté 06 janvier 2011 - 04:04
Sorry I've taken so long to get back on this, but I'm having the problem still- basically, the one who "initiates" the conversation joins. If I re-initiate the convo, the second one joins up though
#6
Posté 06 janvier 2011 - 07:14
I've seen that before. It may well be that your "join" plot script assumes that the conversation owner is the follower object. There can only be one owner at a time, so only one joins per conversation.
Assuming you have a different "join" plot flag for each follower, set the follower object explicitly in each case (using GetObjectByTag).
Assuming you have a different "join" plot flag for each follower, set the follower object explicitly in each case (using GetObjectByTag).





Retour en haut






