Scrumch Posted August 7, 2020 Share Posted August 7, 2020 (edited) I know there's a HasTag command to check if a player has a certain tag, but is there a equivalent for checking what build the player is currently using? Would it be something like: inst.AnimState:GetBuild = "playerbuild"? Edited August 9, 2020 by Scrumch Link to comment https://forums.kleientertainment.com/forums/topic/120754-solvedscript-for-checking-what-build-the-player-is-using/ Share on other sites More sharing options...
Hornete Posted August 7, 2020 Share Posted August 7, 2020 44 minutes ago, Scrumch said: I know there's a HasTag command to check if a player has a certain tag, but is there a equivalent for checking what build the player is currently using? Would it be something like: inst.AnimState:GetBuild = "playerbuild"? Yup! You got it right, You can run inst.AnimState:GetBuild() to get the current build the entity is using! 1 Link to comment https://forums.kleientertainment.com/forums/topic/120754-solvedscript-for-checking-what-build-the-player-is-using/#findComment-1360680 Share on other sites More sharing options...
CarlZalph Posted August 7, 2020 Share Posted August 7, 2020 2 hours ago, Scrumch said: inst.AnimState:GetBuild = "playerbuild"? Further, for compares you'd have two '='s. Using one is an assignment operator. Ex: if a == "bob" 1 Link to comment https://forums.kleientertainment.com/forums/topic/120754-solvedscript-for-checking-what-build-the-player-is-using/#findComment-1360703 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