Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Individual Battle Commands
#1
Individual Battle Commands
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script changes the battle engine so that each character has individual battle commands, rather than be restricted to the four defined in the database. It also changes the engine so that battle commands are recognized by name rather than by position within the battle command menu. With the code provided here, each actor's default battle commands are still "Attack", "Skill", "Defend", and "Item". The code provided here is only a framework that makes it easy to add new commands, and still only supports the four basic commands. To add support for new commands, you will need to make the engine recognize them by adding to the case statement starting around line 380 in the script, and then adding the code to process the new command.

To change an actor's command through a script call, merely use:
$game_actors[n].battle_commands = ["Attack", "Skill", "Defend", "Item"]
where 'n' indicates the actor in your database... substituting the names of the commands in the array with your own.

Again... the engine recognizes the names of the battle commands rather than index positions. So if you do not add the new command(s) (by its name) to the engine, any added command(s) won't be recognized.


Script
"script"
Reply }


Messages In This Thread
Individual Battle Commands - by RPG Advocate - 03-03-2008, 05:24 AM
RE: Individual Battle Commands - by DerVVulfman - 10-09-2011, 03:44 AM
RE: Individual Battle Commands - by Taylor - 10-09-2011, 04:38 AM
RE: Individual Battle Commands - by DerVVulfman - 10-09-2011, 04:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Battle Item Count kyonides 4 872 02-04-2024, 05:49 AM
Last Post: kyonides
   Dalissa's Battle Cry DerVVulfman 2 6,647 05-09-2023, 03:07 AM
Last Post: DerVVulfman
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,030 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Actor Battle Items DerVVulfman 4 4,955 11-08-2020, 12:36 PM
Last Post: Melana
   Battle Report Raziel 1 6,237 05-29-2020, 02:27 AM
Last Post: Whisper
   ZLSL's Battle Portraits DerVVulfman 4 6,486 11-12-2019, 04:10 AM
Last Post: DerVVulfman
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 224,782 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Mimi's Battle Music DerVVulfman 2 8,144 11-19-2018, 04:18 AM
Last Post: DerVVulfman
   ATOA Chanting Battle Animations DerVVulfman 9 15,666 01-12-2017, 01:46 PM
Last Post: Noctis
   Automatic Battle Actions Claihm 1 6,686 08-15-2016, 09:15 PM
Last Post: Melana



Users browsing this thread: