Hi,
I'm making a feature that adds a non hero npc's face to a empty hero npc template in order to have things like unique companions/generated companions (companions out of town walkers for example, I already know how to generate names and paste them onto empty template NPCs as well as pasting equipment from an agent onto an empty template NPC). I'm using the agent_get_dna from WSE in order to store the agent's face code into a string. Here's the code
But I keep getting this error (MS says nothing)
I'm sure my WSE is working well? I downloaded WSE from here https://forums.taleworlds.com/index.php?threads/wb-warband-script-enhancer-v4-7-8-for-1-174.324890/
I followed the instructions such as putting the new operations at the very end of my header operations, and applying the process operations patch and adding the new header commons stuff at the very end of my header commons. I didn't do the other stuff like the new MT triggers or script addon stuff because i dont need the stuff that's in it. I even installed mb warband 1168 version (non steam) and put in a 1174 warband exe (non steam) i got off the internet, but i keep getting that error.
I'm making a feature that adds a non hero npc's face to a empty hero npc template in order to have things like unique companions/generated companions (companions out of town walkers for example, I already know how to generate names and paste them onto empty template NPCs as well as pasting equipment from an agent onto an empty template NPC). I'm using the agent_get_dna from WSE in order to store the agent's face code into a string. Here's the code
Code:
[anyone|plyr,"town_dweller_talk", [
], "want to join my party?", "td_join",
[
(str_clear, s0),
(agent_get_dna, s0, "$g_talk_agent"),
(troop_set_face_keys, "trp_joinermale1", s0),
]],
[anyone,"td_join", [
], "ok", "close_window",
[
(troop_join, "trp_joinermale1"),
]],
But I keep getting this error (MS says nothing)
I'm sure my WSE is working well? I downloaded WSE from here https://forums.taleworlds.com/index.php?threads/wb-warband-script-enhancer-v4-7-8-for-1-174.324890/
I followed the instructions such as putting the new operations at the very end of my header operations, and applying the process operations patch and adding the new header commons stuff at the very end of my header commons. I didn't do the other stuff like the new MT triggers or script addon stuff because i dont need the stuff that's in it. I even installed mb warband 1168 version (non steam) and put in a 1174 warband exe (non steam) i got off the internet, but i keep getting that error.