hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
84
Reaction score
15
Primarily Uses
Code:
<Counter Name: text>
  This changes the displayed name of the skill when used as a counter skill
  to 'text'.

I'm trying to make it so when a unit counters the skill has the prefix counter + skill name. Or anything along those lines. I've been reading the documentation and can't get the counter skill to have the skill change it's text. Below is my counter criteria along with my plugin order.
Thanks,
hobo

Code:
<Counter Name: text>

 <Counter Condition>

Magical Hit

  </Counter Condition>
1634429621366.png
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,453
Reaction score
16,374
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Thank you.

 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
7,542
Reaction score
5,305
First Language
English
Primarily Uses
RMMV
I'm trying to make it so when a unit counters the skill has the prefix counter + skill name. Or anything along those lines. I've been reading the documentation and can't get the counter skill to have the skill change it's text.
(I took the liberty of un-bolding you for readability :wink: )
So, you can't do this. The Counter Name tag changes the skill name to whatever you type in as the "text" portion. That can't evaluate JavaScript commands, which means you have no way to make the text be different things at different times.

The only way I can think of to do this would be to actually make a counter skill for every attacking skill with the appropriate name, and use a huge Custom Counter Skills list on the actor/state/whatever to call the appropriate counter skill depending on the incoming attack.

Or, of course, write/commission someone to write a plugin extension that adds a Custom Counter Name tag that can evaluate JS and dynamically change the name.
 

hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
84
Reaction score
15
Primarily Uses
Thanks for the reply.
To clarify I just want the player to know that the enemy is countering there attack.
To do this I want to manually change the skill name to have prefix 'counter' on it.
Is that not possible?

Code:
<Counter Name: text>
Does this not change the name of the skill when it's triggered by a counter?
Because in my case, this command doesn't work or change the text at all.
If I have a move called 'water'
I want to do
Code:
<Counter Name: 'Water: Counter'>
when triggered by a counter, the skill name doesn't change.

Sorry about the confusion.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
7,542
Reaction score
5,305
First Language
English
Primarily Uses
RMMV
To do this I want to manually change the skill name to have prefix 'counter' on it.
Is that not possible?
That's not the same thing you said in your first post. Yes, you can change the name of the skill to an other thing. No, you can't change it dynamically to be "(name of the attack that triggered it) counter".
Code:
<Counter Name: text>
Does this not change the name of the skill when it's triggered by a counter?
Yes, it should.
I want to do
Code:
<Counter Name: 'Water: Counter'>
when triggered by a counter, the skill name doesn't change.
It's possible you putting single quotes in there is breaking it. The instructions don't say Counter Name: 'text' - try taking those out and see if it works. If it still displays the original name of the skill, you'll need to post screenshots of your skill with its notetags and ask for help with all of that.
 

hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
84
Reaction score
15
Primarily Uses
This is in the skill text box.
I've tried it without the whole action battle script and still can't change the text.


Code:
<Counter Name: text>
 <Counter Condition>
Magical Hit
  </Counter Condition>




    <setup action>
      clear battle log
      display action
      immortal: targets, true
      perform start
      wait for movement
      cast animation
      wait for animation
    </setup action>
 
    <whole action>
      wait: 6
      motion attack: user
      wait: 6
      action animation: target
      animation wait: 6
      shake screen: 7, 6, 35
      wait for animation
      action effect
    </whole action>
 
    <target action>
ADD ELEMENT: 7
change variable 3 = Math.trunc((((user.mat * user.mat) /16 ) -((target.mdf * target.mdf /32))) / 10)-2 + Math.randomInt(3)
mp -variable 3: target,show


    </target action>
 
    <follow action>
    </follow action>
 
    <finish action>
      wait: 18
      immortal: targets, false
      wait for new line
      clear battle log
      perform finish
      wait for movement
      wait for effect
    </finish action>
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
7,542
Reaction score
5,305
First Language
English
Primarily Uses
RMMV
What are you asking that's different from the last time? You were told that the specific thing you're trying to do is not supported by the plugin.

You then said the Counter Name: text notetag wasn't working for you - is that still what you're saying? That the name of the skill doesn't show up as "text"?
 

hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
84
Reaction score
15
Primarily Uses
Right, the <Counter Name: text> note tag isn't working.
I'll just create a new project and see if the issue still persist.
 

Latest Threads

Latest Profile Posts

I am supposed to be preparing to teach my students this afternoon and tomorrow morning about Refugees, Asylees, and Fraud/Misrepresentation and all I can think about is how to improve my Turn Order display. :stickytongue:
Try changing POV battle, near and far away like suikoden...
watercave2.jpg

diablofar.jpg

In the end I choose near over shoulder resembles RE4. Tight close window better. The correlation between battleback, monster style and battler should also be observed and merged.
Upgraded my avatar to be cuter.
When you look for several things for ages and then suddenly find it all at once.

Status.png
Status2.png
equip.png
I'm going to see if I can set up a triple booting setup. Windows for standard use & gaming, debian for linux development and manjaro for linux gaming, wine & proton use.

Forum statistics

Threads
129,702
Messages
1,204,415
Members
170,767
Latest member
Akemyin
Top