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
   Lead Actor Swapper script error Ace_V 25 2,313 09-07-2025, 01:22 PM
Last Post: DerVVulfman
   Actor Voices by diamondandplatinum3, note-tag commands not working! Starmage 1 657 08-04-2025, 09:02 AM
Last Post: Starmage
   Personal graph by actor zlsl 4 8,053 10-23-2021, 06:43 AM
Last Post: zlsl
   Multi Attack & Combo Display Keeroh 9 17,759 05-15-2017, 06:39 PM
Last Post: DerVVulfman
   Actor names in Quest Script jreagan406 5 11,526 03-07-2017, 08:06 AM
Last Post: JayRay
   [XP]Alternative Attack Algorithms by Xelias - need help with bug Geminil 0 4,436 02-06-2016, 07:56 PM
Last Post: Geminil
   Actor Graphic/Reflection Refuses to Update/Refresh penguwin 6 12,483 11-06-2014, 09:51 PM
Last Post: penguwin
   Enemy Transform w/ Minkoff Animated Battlers Kain Nobel 1 5,292 06-01-2014, 05:41 PM
Last Post: MechanicalPen
   Modifying Actor ID to Class ID for Advanced Individual Battle Commands Script NewHope 1 5,912 07-11-2012, 11:37 PM
Last Post: NewHope
   Repositioning the actor command window. MegaPowerNinja 4 11,374 04-12-2011, 05:21 AM
Last Post: MegaPowerNinja



Users browsing this thread: 1 Guest(s)