I am working through the wiki tutorials and have a little scenario set up involving a quest giver and a few hurlocks.
I noticed that my quest giver was missing the "Quest Giver Marker" as usually seen in the game and I discovered I can add this by setting the NPC.[Quest Giver] property to true. However the marker remains above the quest givers head regardless of the status of the quest.
Could anyone point me toward some material setting monster properties via scripting as I'm still having trouble getting around this framework?
Regards
Paul
Plot Giver Marker
Débuté par
Halchek
, déc. 07 2009 11:04
#1
Posté 07 décembre 2009 - 11:04
#2
Posté 07 décembre 2009 - 11:28
Not sure myself, but I'm sticking in hoping someone will know.
As for myself, I tried the creature's "Quest Giver" property as you did, and quickly dropped that idea because the quest indicator is then pretty persistent.
Then I tried WR_TogglePlotIcon() or even ShowFloatyIcon(oCreature, "PlotDestination") directly, but this time around the opposite happened: the quest marker would disappear as soon as the player uses the GUI, like opening the inventory, etc.
As for myself, I tried the creature's "Quest Giver" property as you did, and quickly dropped that idea because the quest indicator is then pretty persistent.
Then I tried WR_TogglePlotIcon() or even ShowFloatyIcon(oCreature, "PlotDestination") directly, but this time around the opposite happened: the quest marker would disappear as soon as the player uses the GUI, like opening the inventory, etc.
#3
Posté 07 décembre 2009 - 11:33
WR_TogglePlotIcon(object oCreature, int nActive); is the script function to turn on/off the Quest Giver Marker.
#4
Posté 08 décembre 2009 - 12:15
Naah. Unless something goes wrong in my installation.
First of all, the PlotDestination icon shown by WR_TogglePlotIcon isn't the same as the quest marker activated by the "Plot Giver" creature's property.
Then, as I said above : the WR_TogglePlotIcon() is removed as soon as some wind blows, and Thedas is pretty windy in this time of the year.
As for the "Plot Giver" creature's property, it ain't turned down by WR_TogglePlotIcon(oCreature, FALSE) . What it does is temporarily hide the "!" icon, but then again it's the same as when we're using WR_TogglePlotIcon() to show an icon : the state is reverted to its default as soon as a part of the gui is opened. (and the "!" pops again)
First of all, the PlotDestination icon shown by WR_TogglePlotIcon isn't the same as the quest marker activated by the "Plot Giver" creature's property.
Then, as I said above : the WR_TogglePlotIcon() is removed as soon as some wind blows, and Thedas is pretty windy in this time of the year.
As for the "Plot Giver" creature's property, it ain't turned down by WR_TogglePlotIcon(oCreature, FALSE) . What it does is temporarily hide the "!" icon, but then again it's the same as when we're using WR_TogglePlotIcon() to show an icon : the state is reverted to its default as soon as a part of the gui is opened. (and the "!" pops again)
Modifié par Phaenan, 08 décembre 2009 - 12:16 .
#5
Posté 08 décembre 2009 - 12:42
The function you want is SetPlotGiver is the function you want for the exclamation point icon.
The plot destination icon is best handled through the Plot Assist tab in the Plot Editor.
The plot destination icon is best handled through the Plot Assist tab in the Plot Editor.
#6
Posté 08 décembre 2009 - 12:59
I completely missed that function when I was looking through the list for anything that could help. Maybe I was to fixated on searching for "icon" or "mark" or this kind of stuff.
Anyway.
Cheers once again.
Anyway.
Cheers once again.
#7
Posté 08 décembre 2009 - 10:02
Excellent a good step in the right direction. Now given I have the following as my complete script :-
void main()
{
SetPlotGiver(martha, FALSE);
}
Given that martha is my quest giver, how do I assign a reference to martha?
Thanks for all the previous help.
Paul
void main()
{
SetPlotGiver(martha, FALSE);
}
Given that martha is my quest giver, how do I assign a reference to martha?
Thanks for all the previous help.
Paul
#8
Posté 08 décembre 2009 - 10:37
You would use something like:
object oMartha = GetObjectByTag("martha");
SetPlotGiver(oMartha, FALSE);
Where "martha" is the tag for your quest giver.
object oMartha = GetObjectByTag("martha");
SetPlotGiver(oMartha, FALSE);
Where "martha" is the tag for your quest giver.
#9
Posté 08 décembre 2009 - 10:57
Well of course it is! :-p
Thanks all.
Regards
Paul
Thanks all.
Regards
Paul
#10
Posté 08 décembre 2009 - 10:58
some posting strangeness
Modifié par Halchek, 08 décembre 2009 - 10:59 .





Retour en haut






