anyone had a chance to play around the the new NPCTALKING.. im starting to wonder if alot of it is client sided?
im trying to change the messages with no avail. he always uses the airwulf messages.
im trying to change the messages with no avail. he always uses the airwulf messages.
Vector3 entityloc = player.transform.position;
Quaternion playerloc = player.transform.rotation;
NPCTalking BotA = GameManager.server.CreateEntity("assets/prefabs/npc/bandit/shopkeepers/bandit_conversationalist.prefab", entityloc, playerloc) as NPCTalking;
ConversationData convo = ScriptableObject.CreateInstance<ConversationData>();
if (convo == null)
{
Puts("no convo");
return;
}
BotA.Spawn();
Translate.Phrase newTest = new Translate.Phrase();
newTest.token = "statement_intro";
newTest.english = "message is working";
BotA.conversations[0] = convo;
BotA.conversations[0].shortname = "intro";
BotA.conversations[0].speeches[0].statementLocalized = newTest;