hagefade Posted January 25, 2010 Author Share Posted January 25, 2010 How do you make it so you restore all your hp and mp when you level? Link to comment Share on other sites More sharing options...
Capt. John Posted January 25, 2010 Share Posted January 25, 2010 Darn, if I didn't just pack down my laptop I would have been able to give you my script for that, I'll use it to heal when youre talking to a NPC.But it's just the same commands in Onlvlup (Or something close to it)I'll give you the script I have when I get home from school today if no one allready have helped you :cheesy:PS. I made the script myself! :azn: Link to comment Share on other sites More sharing options...
hagefade Posted January 25, 2010 Author Share Posted January 25, 2010 KK thanks, also check out this topic cause I need help with it too:http://www.touchofdeathforums.com/smf/index.php/topic,56824.msg602364.html#msg602364 Link to comment Share on other sites More sharing options...
cloudwolf00 Posted January 25, 2010 Share Posted January 25, 2010 HelloIn the "PlayerLevelUp(Index)" subroutine ( located in your "main.txt" ) and after the ending "Loop" terminator of the "Do While" loop, place this code:``` 'Give player full hp and mp Call SetPlayerHP(Index, GetPlayerMaxHp(Index)) Call SetPlayerMP(Index, GetPlayerMaxMP(Index))```cloudwolf00 Link to comment Share on other sites More sharing options...
hagefade Posted January 26, 2010 Author Share Posted January 26, 2010 It didn't work =( Link to comment Share on other sites More sharing options...
hagefade Posted January 26, 2010 Author Share Posted January 26, 2010 Wait, dun worry, it worked, thanks =D but I still having trouble with:http://www.touchofdeathforums.com/smf/index.php/topic,56824.0.html 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