Rosten Posted June 25, 2014 Share Posted June 25, 2014 Right now, I'm working on a mood where one of the key features is that some of the weapons do different things based on which character your using it with, how can I tell the game to find what character the player is using and then do something depending on that Link to comment https://forums.kleientertainment.com/forums/topic/37806-how-to-get-player-character/ Share on other sites More sharing options...
Rosten Posted June 25, 2014 Author Share Posted June 25, 2014 I'd also like a method for reducing health by x every.y seconds Link to comment https://forums.kleientertainment.com/forums/topic/37806-how-to-get-player-character/#findComment-504354 Share on other sites More sharing options...
Desblat Posted June 26, 2014 Share Posted June 26, 2014 GetPlayer().prefab will return player character name in format: "wilson". Link to comment https://forums.kleientertainment.com/forums/topic/37806-how-to-get-player-character/#findComment-504664 Share on other sites More sharing options...
JackSlender Posted June 26, 2014 Share Posted June 26, 2014 As for your health reduction method, you can use a simple DoPeriodicTask function. Not quite sure what you're reducing the health OF, but that should help. Link to comment https://forums.kleientertainment.com/forums/topic/37806-how-to-get-player-character/#findComment-504734 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