Scripts / Corno_1 Multi Levels Health and Life transfer, help

Author
Message
lotgd
3D Media Maker
13
Years of Service
User Offline
Joined: 2nd Apr 2010
Location: italy
Posted: 6th Apr 2017 16:18
I read that you can carry more than that lives and healt, you can take a look if that's okay?
I have doubts about this:
    StartVars: close ()

     Setg_gold (and temp [1])
     Setg_points (temp [2])




My Pc Specs : Win10pro64bit /Msi z97 / i74770k / gtx1070 / 16gb ram / SSD 850Evo
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 6th Apr 2017 17:13
Setg_gold(e,temp[1])
Setg_points(temp[2])
these functions dont exist in the script so make sure they are active elsewhere
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
lotgd
3D Media Maker
13
Years of Service
User Offline
Joined: 2nd Apr 2010
Location: italy
Posted: 6th Apr 2017 17:16
smallg thanks for your reply, I can manually add them in global.lua?

My Pc Specs : Win10pro64bit /Msi z97 / i74770k / gtx1070 / 16gb ram / SSD 850Evo
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 6th Apr 2017 17:40 Edited at: 6th Apr 2017 17:40
For other vars it would work like that:

but after the saveGame patch I would not recommend my script!!!
Make a global var with g_gold and g_points and they will be safed automatic from GG
https://forum.game-guru.com/thread/217825
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM
lotgd
3D Media Maker
13
Years of Service
User Offline
Joined: 2nd Apr 2010
Location: italy
Posted: 6th Apr 2017 18:48
thank you for all Corno_1!
to me global variables do not work with game guru.

My Pc Specs : Win10pro64bit /Msi z97 / i74770k / gtx1070 / 16gb ram / SSD 850Evo

Login to post a reply

Server time is: 2024-03-28 10:41:16
Your offset time is: 2024-03-28 10:41:16