I created a new scene, and have both the player and another troop (of my own creation) spawn in the scene. Everything's ok with that.
Then I wrote some dialog for the new troop, but whenever I walk up to him, I don't have the option to talk to him.
This is what I initially wrote for the initial dialog tuple:
That didn't work, so I tried:
That also didn't work. (note, that when the player agent is spawned in the scene, the agent slot "slot_agent_training_state is set to 0)
Is there some kind of condition that prevents the player from talking to other agents?
Then I wrote some dialog for the new troop, but whenever I walk up to him, I don't have the option to talk to him.
This is what I initially wrote for the initial dialog tuple:
Code:
[anyone, "start",
[
#(eq, "$g_talk_troop", "trp_frederick"),
(get_player_agent_no, ":player_agent"),
(agent_slot_eq,":player_agent",slot_agent_training_state,0),],
"Hello friend.", "frederick_talk",
[]],
That didn't work, so I tried:
Code:
[trp_frederick, "start",
[
#(eq, "$g_talk_troop", "trp_frederick"),
(get_player_agent_no, ":player_agent"),
(agent_slot_eq,":player_agent",slot_agent_training_state,0),],
"Hello friend.", "frederick_talk",
[]],
That also didn't work. (note, that when the player agent is spawned in the scene, the agent slot "slot_agent_training_state is set to 0)
Is there some kind of condition that prevents the player from talking to other agents?