I'm trying to get UCC attributes for my player using variables.
I'm able to assign the player's dynamically on start using
Code: Select all
DialogueLua.SetVariable("PlayerName", newPlayer.NickName);
Code: Select all
Variable["Health"] = uccGetAttribute([var=PlayerName], "Health");
Code: Select all
Variable["Health"] = uccGetAttribute("[var=PlayerName]", "Health");
Thank you,
Nathan