Some1 Posted December 22, 2014 Share Posted December 22, 2014 How can I discriminate two characters, the one that joined the game and have name "Wes" and the other one, which was spawned by DebugSpawn "wes"? OK, I've got the instance. What next? Link to comment Share on other sites More sharing options...
rezecib Posted December 23, 2014 Share Posted December 23, 2014 @Some1, inst.name gives their Steam name. A DebugSpawn('wes') shouldn't have that populated, I think. Link to comment Share on other sites More sharing options...
Some1 Posted December 23, 2014 Author Share Posted December 23, 2014 @rezecib, either of them will have inst.name=="Wes". But i need to recognize, to translate that one, who was spawned by console, and don't touch the other one. Link to comment Share on other sites More sharing options...
rezecib Posted December 23, 2014 Share Posted December 23, 2014 @Some1, Oh, weird, I figured .name wouldn't be populated. But you can use the absence of .userid to determine that they were spawned in. Link to comment Share on other sites More sharing options...
Some1 Posted December 24, 2014 Author Share Posted December 24, 2014 Thanks, @rezecib, it works pretty well. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now