Denegoth
New Member
- Reaction score
- 18
Update 0.065
Alchemy has been put on hold until later on. Magic is in progress instead.
Alchemy has been put on hold until later on. Magic is in progress instead.
saving item work fine; either use aceheart sample or edit his example i did it and it work fine.
http://img175.imageshack.us/i/look.jpg/
try For each integer A from 0 to save[9] as save[9] is where the number of item is stored for youTrigger:
- SaveLoad Load Hero
- For each (Integer A) from 1 to Save[SaveCount], do (Actions)
- Loop - Actions
- Set SaveCount = (SaveCount + 1)
- Custom script: set udg_TempItemType = SaveLoad_Integer2Item(udg_Save[udg_SaveCount])
- Hero - Create TempItemType and give it to (Last created unit)
- Set SaveCount = (SaveCount + 1)
- Item - Set charges remaining in (Last created item) to Save[SaveCount]
try For each integer A from 0 to save[9] as save[9] is where the number of item is stored for you
if you have 2 item item then save[9]=2 then it get converted from the 5 possible item in the itemlist in the save initialization
if you pick up say 2 item then save[9]=2 (saved)
you then load
the game will loop from 0 to 2 and should give you your 2 item ( i myself use save[4] and the above in my map cause I save 4 thing)
At first I was trying loop from 1 to save[4] in my map but it was always missing an item somehow or doing weird stuff and now it work fine with 0.
edit: i meant to edit my last post