Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Feature Requests : Set_Var commands ideas (Max ---)
New Topic New Poll Post Reply
Poster Message
reyll3
Level: Delver
Avatar
Rank Points: 33
Registered: 01-01-2007
IP: Logged
icon Set_Var commands ideas (0)  
I thought of some easy command that will Max the HP you can carry,you cannot get above that amount and maybe the same thing for ATK and DEF and Money.
I need these commands so i can make progress on my secret hold with DROD RPG,cause i need to be able to max it to 99,and add 100 every time a certain special item is obtained.

Good idea?

____________________________
A cat

[Last edited by reyll3 at 11-05-2008 05:18 PM]
11-05-2008 at 05:18 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Sillyman
Level: Smiter
Avatar
Rank Points: 339
Registered: 09-08-2006
IP: Logged
icon Re: Set_Var commands ideas (+1)  
Potentially... or you could use this (ctrl-shift-b won't work):

Imperative Make Script Global
Label Loop
If..
Wait until var _HP > 99
Set var _HP = 99
If End
Wait 0
Go To Loop

____________________________
Who, me?
FNORD
11-05-2008 at 05:31 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
reyll3
Level: Delver
Avatar
Rank Points: 33
Registered: 01-01-2007
IP: Logged
icon Re: Set_Var commands ideas (0)  
well, how can i raise that max then?

____________________________
A cat
11-05-2008 at 05:56 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Sillyman
Level: Smiter
Avatar
Rank Points: 339
Registered: 09-08-2006
IP: Logged
icon Re: Set_Var commands ideas (+2)  
Nuntar wrote:
Replace "99" with "var_MaxHP", have a script that sets "var_MaxHP" to 99 at the beginning of the hold, and another that changes it later on.

If you want precise code:

Imperative Make Script Global
Set Var "HpMax" = 99
Label Loop
If..
Wait until var _HP > HpMax
Set var _HP = HpMax
If End
Wait 0
Go To Loop

And wherever you want to raise it:

Set Var "HpMax" + 100

____________________________
Who, me?
FNORD
11-05-2008 at 07:30 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
reyll3
Level: Delver
Avatar
Rank Points: 33
Registered: 01-01-2007
IP: Logged
icon Re: Set_Var commands ideas (0)  
Thank you, it works now.

____________________________
A cat
11-05-2008 at 08:57 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Feature Requests : Set_Var commands ideas (Max ---)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.