Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attack from an enemy to a actor as condinitional branch
#7
The problem with a conditional branch is that you typically have no way to determine if an enemy had attacked the hero. Or not without some scripting help as we both had mentioned...

However, you are using ATOA's system. Is your edit able to use his counter attack system? If so, maybe something can be altered to look like this if you were interested...

Setting actor 17 to counter attack if ... any attack... user #1 ... ... return with a healing skill ... or ...
Code:
Counter_Setting['Actor'][17] = {  {'type' => 4 'condition' => 'user.id(1)'} =>{'type' => 1, 'id' => 1, 'cost' => true}  }

or
Setting actor 17 to counter attack if ... any attack... user #1 ... ... return with turning Switch 15 on.
Code:
Counter_Setting['Actor'][17] = {  {'type' => 4 'condition' => 'user.id(1)'} =>{ $game_switches[15] = true }  }

That doesn't mean that the 'user.id(1)' in this code will work., nor do I have anything that checks for any particular troop ID (if desired), That may take some more time. I never really used Atoa's system,

Does this sound fairly satisfactory?
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
RE: Attack from an enemy to a actor as condinitional branch - by DerVVulfman - 07-05-2014, 04:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Personal graph by actor zlsl 4 3,905 10-23-2021, 06:43 AM
Last Post: zlsl
   Multi Attack & Combo Display Keeroh 10 12,362 05-15-2017, 06:39 PM
Last Post: DerVVulfman
   Actor names in Quest Script jreagan406 5 7,682 03-07-2017, 08:06 AM
Last Post: JayRay
   [XP]Alternative Attack Algorithms by Xelias - need help with bug Geminil 0 2,958 02-06-2016, 07:56 PM
Last Post: Geminil
   Actor Graphic/Reflection Refuses to Update/Refresh penguwin 6 8,777 11-06-2014, 09:51 PM
Last Post: penguwin
   Enemy Transform w/ Minkoff Animated Battlers Kain Nobel 1 3,788 06-01-2014, 05:41 PM
Last Post: MechanicalPen
   Modifying Actor ID to Class ID for Advanced Individual Battle Commands Script NewHope 1 4,216 07-11-2012, 11:37 PM
Last Post: NewHope
   Repositioning the actor command window. MegaPowerNinja 4 8,625 04-12-2011, 05:21 AM
Last Post: MegaPowerNinja
   [RMXP] Actor Cloning dagarath 2 8,674 03-08-2011, 07:18 AM
Last Post: dagarath
   Ring Menu + Actor Train? Other party members dissapear... Shadowgaz 2 5,844 05-19-2009, 01:35 PM
Last Post: Shadowgaz



Users browsing this thread: