hi, i know i should ask for this in the scripting forum, but i somehow cant post there anything..
So, how do i make an item collectable for a quest? i assume a plot flag and some syntax, which Im not sure what..
any ideas?
i thought about something like this within my plot script.. for collecting books (2 or more books to be collected)
case MY_PLOT_QUEST_ACCEPTED:
{
object oObject = GetObjectByTag("book_tag")
GetItemStack (oObject, "book_tag1");
}
or if the books are on other areas something like this
#include "plt_my_books"
...
case EVENT_TYPE_AREALOAD_PRELOADEXIT:
{
if (WR_GetPlogFlag(PLT_MY_BOOKS, MY_BOOKS_QUEST_ACCEPTED))
{
object oObject = GetObjectByTag("book_tag");
GetItemStack (oObject, "book_tag1"); /maybe SetItemStack???
}
}
btw.. i know my scripting isnt really good, just started trying it, some other scripts from me work.. but im doing hard getting "collection of items" done right..
Quest script
Débuté par
Shodushi
, déc. 22 2009 04:21
#1
Posté 22 décembre 2009 - 04:21
#2
Posté 23 décembre 2009 - 04:01
/bump
does really no one knows a hint ?
does really no one knows a hint ?
#3
Posté 23 décembre 2009 - 06:22
There should be plenty of examples of this from the main campaign. Scrolls of Bannistor is a quest line that comes to mind -- where you have to collect 5 scrolls to complete the quest. I would look at the main campaign inside the toolset, find that quest, and use that as an example.
Unfortunately, my actual use of the toolset is very limited right now while I finish the main campaign, so that's about all the hrlp I can offer.
Good luck and I hope this helps.
Unfortunately, my actual use of the toolset is very limited right now while I finish the main campaign, so that's about all the hrlp I can offer.
Good luck and I hope this helps.





Retour en haut







