How can I add a limit to this code? (Say I want the limit to be 12 so a player can not own more than that.)
- Code: Select all
Money = Money + 1
ZW.
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Money = Money + 1
If Money => Limit then Money = Limit
Action.WriteIni "char.ini",1,1,firstattributevalue
Action.WriteIni "char.ini",1,2,secondattributevalue
Action.WriteIni "char.ini",2,1,firstattributevalueenemy1
Action.WriteIni "char.ini",3,1,firstattributevalueenemy2
return_value = Action.ReadINI(FILENAME, SECTION, KEY)
Chromegloss55 wrote:Ah... the old INI files.
I don't think they're explained well in the AM Help Guide. I'll have to include them in my next update of 100 VB Techniques.
By the way, I'll be updating with 30 brand new techniques bringing us up to 50.
ZeornWarlock wrote:Chromegloss55 wrote:Ah... the old INI files.
I don't think they're explained well in the AM Help Guide. I'll have to include them in my next update of 100 VB Techniques.
By the way, I'll be updating with 30 brand new techniques bringing us up to 50.
When is your update?![]()
ZW.
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests