Scan Ability: (an ability that when used displays information about the targeted enemy)
Example:
member 1 uses Scan on 'Soldier'
message displays a brief description of the 'Soldier' enemy and/or his stats.
Step #1. Make a Content script like so:'View Info' Script_
Text: Clear Message (to remove the 'Blank uses Scan!' message)
Battle: Make Active Character (switch 'active character' over to the target, so that now when we execute load commands we load the target's info instead of the instigator's)
Data: Get Enemy Name (load 'active character' aka. target/enemy's name into Input#1 [Common Name])
**
Input: Buttons: Constant Wait (give player all the time they want to read the info)
Battle: Make Active Character (switch back to 'Instigator' for technical reasons)
**Customizable part goes here
Now you get to customize it how you want.
Option 1 - Show description of enemy
Option 2 - Show enemy's stats
You can choose either option or both. I recommend Option 1. When I did Option 2 in Paladin, it would say STR 80 and I would know that was high, but the player wouldn't. That's why I recommend a brief description more or less summarizing (some or all) of his stats and abilities. Note that the stats you only have to do once, but you will have to make a separate description for every enemy in this script (so you will be coming back and adding to it for a looong time).
For Option 1 (Description) continue this script with these commands:
Sort: Input #1 [Common Name] (sort by enemy's name)
*Apply If: 'Soldier' (if targeted enemy's name is 'Soldier')
*Text Message: 'Description of Soldier enemy.'
*To End
Branch End
*Repeat for every enemy
For Option 2 (Stats) continue this script with these commands:
Battle: Substitute Target Attribute for Variable (load target's stats into preset variables)
*Text: Message 'HP = '
*Text Content: Variable: Display Var #97 [Hit Points] Digits Not Fixed
*Text: Message ' / '
*Text Content: Variable: Display Var #106 [Max Hit Points] Digits Not Fixed
(these four commands will display 'HP = enemy's HP / enemy's Max HP')
*Repeat for every stat
If you're doing both of them, make sure that Option 2 begins after the Script Branch End command of Option 1.
All the Text: Messages should have the 'Close Window' option NOT checked.
Step #2. Make a System Event like so:Place your script from Step 1 in it.
Step #3. Make a Direct Effect like so:Copy the preset 'Fireball' Direct Effect, or a Direct Effect you've made and believe functions perfectly.
Under Adv/Result/Success Slot, put your event from Step 2 in it.
To explain: that slot's script is what happens when the Direct Effect is successful, and is therefore where you would put your Steal/SubtractHP/AddHP/whatever (effect on target when successful) script/event.
Step #4. Make an Ability like so:Copy preset 'Fireball' Ability, or an Ability you've made and believe functions perfectly.
Under Custom/Direct Effect Slot, put your Direct Effect from Step 3.
Last comment: Rodak, Bigfoot, and all you comedians, this has potential to be funny with the descriptions.