Xtrea Posted November 28, 2012 Author Share Posted November 28, 2012 Alright well this is a silly question but its got me stuck for a bit. I'm trying to make a talent system for a lack of better words and so far it works great up to a point. You cant see how many so called talent points you have. So if anyone could point me in the direction of how to make a label update with how many talent points you have it would be very appreciated <3 Link to comment Share on other sites More sharing options...
Matt Posted November 28, 2012 Share Posted November 28, 2012 Take a look at how stat points are updated. It should help you out a bit ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
abhi2011 Posted November 28, 2012 Share Posted November 28, 2012 Depending upon the engine and since you told label, i'll say```talentLabel.caption = whatever is your talent value``` Link to comment Share on other sites More sharing options...
Matt Posted November 28, 2012 Share Posted November 28, 2012 Every time the label becomes visible it should update.```lblTalent.caption = player(index).talents```sort of thing. Link to comment Share on other sites More sharing options...
Xtrea Posted November 28, 2012 Author Share Posted November 28, 2012 >.< Where would I put it though. Cause right now its like this for an examplelblTP.caption ="You currently have" & player(index).TP & "Talent Points." Link to comment Share on other sites More sharing options...
Matt Posted November 28, 2012 Share Posted November 28, 2012 Ok, but where do you want to place it in the GUI? Link to comment Share on other sites More sharing options...
Xtrea Posted November 28, 2012 Author Share Posted November 28, 2012 I just made a label on the Character screen ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) I'm still looking around the source trying to find more bout the GUI Link to comment Share on other sites More sharing options...
Matt Posted November 28, 2012 Share Posted November 28, 2012 Then search for```picCharacter.Visible = True```in the sub```Private Sub imgButton_Click(Index As Integer)```and under it put there your code. Link to comment Share on other sites More sharing options...
Xtrea Posted November 28, 2012 Author Share Posted November 28, 2012 Oh wowwwww I feel retarded…................... Thanks.! ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Link to comment Share on other sites More sharing options...
Matt Posted November 28, 2012 Share Posted November 28, 2012 We all have our moments ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) No problem! 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