Torrential
Veteran
Fixed later down the page, hope it helps someone in search:
--
The dialogue tutorial doesn't build correctly for warband, can anyone tell me what I am missing?
Using this NPC (Who shows up fine in game)
Then trying this dialogue, or any dialogue for that matter, on any custom NPC I add, throws up loads of warnings about global variables (with the the dialogue referenced in the error text), and other errors. Basically it is missing something vital, can anyone fill me in please, is there another step in creating custom warbands dialogue?
I have tried adding the dialogue to various points in the file, and moving the NPC about in the file but the error remains. However the code, and any dialogue I have tried builds fine when the custom NPC isn't the one using it, when it is an already existing NPC or 'anyone' ID.
NB I have edited the ID's capital to lowercase, to see if that was causing the error, but other than this matches the tutorial code exactly bar the location of the NPC.
Thanks for any help.
--
The dialogue tutorial doesn't build correctly for warband, can anyone tell me what I am missing?
Using this NPC (Who shows up fine in game)
Code:
["geoffrey","geoffrey","geoffrey", tf_hero, scn_town_6_tavern|entry(6),reserved, fac_commoners,[itm_linen_tunic,itm_hide_boots,itm_club],def_attrib|level(6),wp(60),knows_trade_3|knows_inventory_management_2|knows_riding_2,0x00000000000c600301c2510211a5b292],
Then trying this dialogue, or any dialogue for that matter, on any custom NPC I add, throws up loads of warnings about global variables (with the the dialogue referenced in the error text), and other errors. Basically it is missing something vital, can anyone fill me in please, is there another step in creating custom warbands dialogue?
Code:
[trp_geoffrey,"start", [], "What? What do you want? Leave me be, {sir/wench}, I have no time for beggars.", "geoffrey_talk",[]],
[trp_geoffrey|plyr,"geoffrey_talk", [], "Nothing, never you mind.", "close_window",[]],
I have tried adding the dialogue to various points in the file, and moving the NPC about in the file but the error remains. However the code, and any dialogue I have tried builds fine when the custom NPC isn't the one using it, when it is an already existing NPC or 'anyone' ID.
NB I have edited the ID's capital to lowercase, to see if that was causing the error, but other than this matches the tutorial code exactly bar the location of the NPC.
Thanks for any help.