07-06-2014, 03:45 PM
(07-06-2014, 03:43 AM)DerVVulfman Wrote: It has been years since I messed around with Atoa's ...er ... Victor's system. It was interesting that he was developing his system while I was developing my sideview script to work with other battlesystems (turning frontviews systems into sideviews).
I took a brief look and got the same error as you described, so I did a little search for the phrase 'cast_action'. Apparently, you need to use either Atoa... *COUGH* Victor's "Add | Atoa ATB" or "Add | Atoa CTB" script with it. He used to go by ATOA for some years. These two scripts (choose one) create the cast_action' value that the counter attack script is looking for. Once I loaded one of these two scripts, the error popup vanished.
However, I am STUMPED as hell as to how to make an actor perform a counter attack. I mean I tried THIS:
As far as I know, that should make actor #1 perform a counter attack if it suffers any attack (Type => 4) with a normal attack (type =>0).Code:Counter_Setting['Actor'][1] = {
{'type' => 4 } => {'type' => 0}
}
I would like a better set of instructions myself. It woulda been nice if the script add-on said 'Needs either the ATB or CTB addon to work.'
Perhaps, Victor will come by and lend a hand. He's a member here too.
It still doesnt work. If somebody attacks someone who is inflicted with the status id 91 which (is used as counterattack) I get an error in line 475/76
I used the ATB addon and the CTB.
Code:
target.counter_info = [target.current_action.kind, target.current_action.basic,target.current_action.skill_id, target.current_action.item_id, target.action_scope]
The funny thing is, that this part of the code is never used again only once in 475/6
At the CTB addon the hero doesnt do anything when he is atackted while having a counterattack status. Did the enemy or actor replied to attacks because of counterattack script? I mean did you see it in demo?
I have to questions: Is it not possible to edit the script so that you dont need one of the ctb/atb addons?
And the other one:
Cant you at least define the method currenct_action and the target_index for me.
I think this would really help me alot and maybe solve my problem. I want to test wheither I can make it through condinational branch beside with scripting