Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Really basic script, yet I couldn't find it...

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Nintendork




Joined: 09 May 2004
Posts: 64

PostPosted: Wed Mar 22, 2006 6:56 pm    Post subject: Really basic script, yet I couldn't find it... Reply with quote

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
View user's profile Send private message
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Wed Mar 22, 2006 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Thu Mar 23, 2006 6:59 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Jack
the fool




Joined: 30 Jul 2004
Posts: 773

PostPosted: Thu Mar 23, 2006 12:03 pm    Post subject: Reply with quote

Battleblaze wrote:
Because "The Nintendork Collection" kinda sucks super penis.


What a kind thing to say.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
LeRoy_Leo
Project manager
Class S Minstrel



Joined: 24 Sep 2003
Posts: 2683
Location: The dead-center of your brain!

PostPosted: Fri Mar 24, 2006 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Fri Mar 24, 2006 9:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Nintendork




Joined: 09 May 2004
Posts: 64

PostPosted: Thu Jul 13, 2006 5:27 pm    Post subject: Reply with quote

Oops, sorry, guess I should've responded. Oookay... 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group