View previous topic :: View next topic |
Author |
Message |
Divine Bovine
Joined: 05 Jul 2003 Posts: 5
|
Posted: Fri Jan 09, 2004 11:23 am Post subject: Check equipment script help |
|
|
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 |
|
|
Aethereal SHUT UP. Elite Designer
Joined: 04 Jan 2003 Posts: 928 Location: Gone! I pop in on occasion though.
|
Posted: Fri Jan 09, 2004 11:32 am Post subject: |
|
|
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 |
|
|
Divine Bovine
Joined: 05 Jul 2003 Posts: 5
|
Posted: Fri Jan 09, 2004 11:50 am Post subject: |
|
|
Exactly what I needed. Thanks for the help! _________________ Check out my ride
GENERATION-EDGE.COM
The new generation of Ford Ranger |
|
Back to top |
|
|
Me HI.
Joined: 30 Mar 2003 Posts: 870 Location: MY CUSTOM TITLE CAME BACK
|
Posted: Fri Jan 09, 2004 5:18 pm Post subject: |
|
|
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 |
|
|
|