DJD2010 Posted August 8, 2019 Share Posted August 8, 2019 (edited) Hi. I'm trying to acquire the current Combat Target's name, and it's not working. Here's how I wrote the code: string name Actor target target = Game.GetPlayer().GetCombatTarget() name = target.GetActorBase().GetName() Debug.Notification("Actor name is: "+name) Every time the message appears, it just says "Actor name is: " and that's it. I don't really care of what exactly is the actor's name, I just want it to be assigned because I want to know the length of it. Some other part of the code changes depending on the length of the actor's name. Can someone help please? EDIT:I realize this post should be in another forum, sorry. Edited August 8, 2019 by DJD2010 Link to comment Share on other sites More sharing options...
Recommended Posts