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

Check equipment script help

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




Joined: 05 Jul 2003
Posts: 5

PostPosted: Fri Jan 09, 2004 11:23 am    Post subject: Check equipment script help Reply with quote

I was wondering if it would be possible to check to see if a certain weapon is equipped on a hero and then set the hero battle picture to a different one. I know how to set the picture different but I am unsure about how to start the script. Also, would it be possible to run this script each time a new game is started or when the player continues from a saved game? Any help would be appreciated and if you need more information just let me know.
_________________
Check out my ride

GENERATION-EDGE.COM
The new generation of Ford Ranger
Back to top
View user's profile Send private message
Aethereal
SHUT UP.
Elite Designer
Elite Designer



Joined: 04 Jan 2003
Posts: 928
Location: Gone! I pop in on occasion though.

PostPosted: Fri Jan 09, 2004 11:32 am    Post subject: Reply with quote

It can be easily done - make a script that checks the equipment in their weapon slot (using the checkequipment() function), and then alter the hero's battle picture appropriately. This one is best run as an Each-Step script or an Instead of Battle (with a fightformation() command within)in my opinion because then it checks each time you take a step, and that way the pictures won't get messed up in battle.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Divine Bovine




Joined: 05 Jul 2003
Posts: 5

PostPosted: Fri Jan 09, 2004 11:50 am    Post subject: Reply with quote

Exactly what I needed. Thanks for the help! Razz
_________________
Check out my ride

GENERATION-EDGE.COM
The new generation of Ford Ranger
Back to top
View user's profile Send private message
Me
HI.




Joined: 30 Mar 2003
Posts: 870
Location: MY CUSTOM TITLE CAME BACK

PostPosted: Fri Jan 09, 2004 5:18 pm    Post subject: Reply with quote

I use it in an instead of battle script, since having one of those also lets you add in nice things like enemy encounter rate reducers, spells linked to the terrain (a la geomancers from FFT), random back attacks, general stat modification, and all sorts of monderful stuff.
_________________
UP DOWN UP DOWN LEFT LEFT RIGHT RIGHT A B START
Back to top
View user's profile Send private message AIM Address
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