Hi everyone,
I was wondering if the icon over the npc's head is supposed to disappear automatically when you complete a quest.
I tried different option like removing it using the the floating icon / plot icon function. But it never worked.
I was wondering if the icon is supposed to disappear automatically or if we need to call a specific function / event.
Thank you for your help.
PS: Great work from the Bioware team! You made an amazing work.
Quest icon doesn't disappear at the end of a quest
Débuté par
laurelhach
, nov. 21 2009 10:48
#1
Posté 21 novembre 2009 - 10:48
#2
Posté 22 novembre 2009 - 03:39
There are two separate types of icons for quests and quest givers - there is the plot assist icon which is controlled entirely withing the plot editor - this you must set the status to No on the end plot flag in order to remove this icon.
Alternately, there is the plot giver icon (the exclamation point) which can be enabled in the creature editor and is toggled on or off with the SetPlotGiver function.
Alternately, there is the plot giver icon (the exclamation point) which can be enabled in the creature editor and is toggled on or off with the SetPlotGiver function.
#3
Posté 23 novembre 2009 - 02:51
Thank you Craig,
I used the SetPlogGiver function and it worked (well... of course it would work
)
I have another question not related to the icon, but within the same script.
Here are the details below :
// set flag for the current plot and remove the icon.
#include "events_h"
#include "plt_irqus_plotdialog"
#include "wrappers_h"
void main()
{
event eCurrent = GetCurrentEvent();
int nTypeCurrent = GetEventType(eCurrent);
object oOwner = GetEventCreator(eCurrent);
object oQuester = GetObjectByTag("irqus_qv");
WR_SetPlotFlag(PLT_IRQUS_PLOTDIALOG, QUEST_COMPLETED, TRUE);
SetPlotGiver(oQuester, FALSE);
}
If I change oQuester for oOwner in the SetPlogGiver line, the exclamation mark won't disappear (nothing happens). Also, I have not been able to use something else than the GetObjectByTag function. I was wondering if we could use something else (something more generic).
Thank you for your help.
I used the SetPlogGiver function and it worked (well... of course it would work
I have another question not related to the icon, but within the same script.
Here are the details below :
// set flag for the current plot and remove the icon.
#include "events_h"
#include "plt_irqus_plotdialog"
#include "wrappers_h"
void main()
{
event eCurrent = GetCurrentEvent();
int nTypeCurrent = GetEventType(eCurrent);
object oOwner = GetEventCreator(eCurrent);
object oQuester = GetObjectByTag("irqus_qv");
WR_SetPlotFlag(PLT_IRQUS_PLOTDIALOG, QUEST_COMPLETED, TRUE);
SetPlotGiver(oQuester, FALSE);
}
If I change oQuester for oOwner in the SetPlogGiver line, the exclamation mark won't disappear (nothing happens). Also, I have not been able to use something else than the GetObjectByTag function. I was wondering if we could use something else (something more generic).
Thank you for your help.
#4
Posté 24 novembre 2009 - 04:07
What is firing this script? It sounds like you're getting this error because the event is either invalid or is not the same creature as oQuester.
#5
Posté 26 novembre 2009 - 01:34
Hi Craig,
Sorry for the delay.
The script is triggered at the end of the conversation (Player is ending the conversation) and complete the quest (he found the item). The script is added in the script "action" section under the "Plot and Scripting" Tab.
Sorry for the delay.
The script is triggered at the end of the conversation (Player is ending the conversation) and complete the quest (he found the item). The script is added in the script "action" section under the "Plot and Scripting" Tab.
Modifié par laurelhach, 26 novembre 2009 - 01:34 .





Retour en haut






