• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

game cache won't store items

Status
Not open for further replies.
Level 6
Joined
Aug 27, 2013
Messages
103
It restore hero but his items are not there, where i made mistake?
Edit: Also abilities aren't remembered.
upload_2018-11-5_14-26-27.png

upload_2018-11-5_14-26-43.png

upload_2018-11-5_14-27-6.png

upload_2018-11-5_14-27-46.png

Second map
upload_2018-11-5_14-28-39.png

upload_2018-11-5_14-28-57.png
 
Last edited:
Level 39
Joined
Feb 27, 2007
Messages
5,037
You can reset ability levels and unspent skill points by saving integers in the game cache. You store them all in the same way you saved the unit; there are different functions for each type of object you want to store.
 
Status
Not open for further replies.
Top