Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Yin's Extra Troops
#4
Atoa: Yeah, SephirothSpawn wrote a script that could add more enemies to a troop. And then there's RPG Advocate's Random Enemies.

But here's the problem with those two and this one. You cannot write event commands in the TROOPS database to handle the additional enemies. These enemies (in all of these scripts) are added only in-game and not while you're creating your troops, so you cannot create any troop commands to control them. The enemies (for all intents and purposes) are not present.

Now you CAN perform checks in troop 1 to see if Enemy X (of that troop) is dead. I did that with a simple group of ghosts.... with a set of basilists as the second troop. Having it check if Ghost #2 had HP of 0 or less, I had it run a script call:
Code:
for enemy in $game_troop.enemies
enemy.hp = 0
enemy.immortal = false
end
All the monsters died, and the battle was won.


Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
Yin's Extra Troops - by DerVVulfman - 12-21-2011, 04:55 AM
RE: Yin's Extra Troops - by Victor Sant - 12-21-2011, 11:28 AM
RE: Yin's Extra Troops - by Yin - 12-21-2011, 09:49 PM
RE: Yin's Extra Troops - by DerVVulfman - 12-22-2011, 05:12 AM
RE: Yin's Extra Troops - by Yin - 12-22-2011, 05:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Extra Gold XP & ACE kyonides 0 1,772 09-09-2021, 08:32 PM
Last Post: kyonides
   Kitsune's Extra Statistics DerVVulfman 10 20,164 07-21-2020, 03:45 AM
Last Post: DerVVulfman
   Extra ITEM for MOG Scene Item Laura DerVVulfman 0 4,657 06-29-2017, 03:44 AM
Last Post: DerVVulfman
   Extra Terrain Tags DerVVulfman 2 6,309 12-21-2014, 04:25 AM
Last Post: DerVVulfman
   Extra Autotiles DerVVulfman 0 4,243 04-13-2014, 04:07 AM
Last Post: DerVVulfman
   Victor Engine - Multiple Troops Victor Sant 0 3,853 12-21-2011, 05:47 PM
Last Post: Victor Sant
   Extra Movement Frames Stone 0 5,184 03-08-2008, 05:02 AM
Last Post: Stone



Users browsing this thread: