View previous topic :: View next topic |
Author |
Message |
Nintendork

Joined: 09 May 2004 Posts: 64
|
Posted: Wed Mar 22, 2006 6:56 pm Post subject: Really basic script, yet I couldn't find it... |
|
|
Okay, what I want to do in the script (for the opening of my game) I think is really simple, but I couldn't find it in the dictionary, so I would appriciate help. Is there any kind of script that restores the health/MP of everyone in your party (even those in your team but not in party, but even if not, that's fine, it just makes it easier and involves less scripting)? Not just an inn, because the player can cancel out of that, but it just restores your health and MP? Thanks. |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Wed Mar 22, 2006 7:49 pm Post subject: |
|
|
Code: |
script, restore whole party, begin
variable (i)
for(i,0,40,1) do (
set hero stat(i,stat:HP,get hero stat(i, stat:HP, maximum stat), current stat)
set hero stat(i,stat:MP,get hero stat(i, stat:MP, maximum stat), current stat)
)
end
|
Edit: Added the other half of the script >_> _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
Battleblaze Warrior Thread Monk

Joined: 19 Dec 2003 Posts: 782 Location: IndY OHR
|
Posted: Thu Mar 23, 2006 6:59 am Post subject: |
|
|
Hope you're planning a decent game Nin. Because "The Nintendork Collection" kinda sucks super penis.
Some screen shots in a livejournal would nice. _________________ Indy OHR! and National OHR Month Contest going on now!
"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall |
|
Back to top |
|
 |
Jack the fool

Joined: 30 Jul 2004 Posts: 773
|
Posted: Thu Mar 23, 2006 12:03 pm Post subject: |
|
|
Battleblaze wrote: | Because "The Nintendork Collection" kinda sucks super penis. |
What a kind thing to say. _________________
 |
|
Back to top |
|
 |
LeRoy_Leo Project manager Class S Minstrel

Joined: 24 Sep 2003 Posts: 2683 Location: The dead-center of your brain!
|
Posted: Fri Mar 24, 2006 12:04 am Post subject: |
|
|
Jack wrote: | Battleblaze wrote: | Because "The Nintendork Collection" kinda sucks super penis. |
What a kind thing to say. |
I think he learned that potty talk from some other negative people on the site. Not sayin' any names *shrug*
More to the topic: This sounds like an INN. :p _________________ Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...
---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. " |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Fri Mar 24, 2006 9:21 am Post subject: |
|
|
Isn't he even going to reply? I spent a whole 45 seconds writing that script, and another 13 copying an pasting the important line to include MP (which I originally forgot). Was that 58 seconds userful, or a waste of time?!? Don't leave me hanging! _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
Nintendork

Joined: 09 May 2004 Posts: 64
|
Posted: Thu Jul 13, 2006 5:27 pm Post subject: |
|
|
Oops, sorry, guess I should've responded. Yep, I used it, and it worked great.
And Battleblaze, when I made that collection, about 4/5 of those games weren't even on the site at that time like they are now.
Sorry for the late response, just wanted to let Mike know it helped. |
|
Back to top |
|
 |
|