hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
34
Reaction score
4
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
44,078
Reaction score
15,498
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
2,706
Reaction score
1,590
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
34
Reaction score
4
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
2,706
Reaction score
1,590
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
34
Reaction score
4
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
2,706
Reaction score
1,590
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
34
Reaction score
4
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 Posts

Latest Profile Posts

Sizzle sizzle sizzle...
zbf1dCZ.gif
Sharing my past was a mistake. Will delete the post when I get access to a working internet connection again.
TFW you get a plugin working correctly with your other plugins ♡\( ̄▽ ̄)/♡

(CW for minor gore - Einar's Y incision is gone for his test portrait)

Cs5kAbZ.png
Doing some winter related edits for a cozy cottage!
I think it's the third time I am changing my skill info plugin, but as I get better at programming, I want to fix the trash I made earlier :p

Streaming while I am programming the plugin. Join in if you wish :)

Forum statistics

Threads
116,981
Messages
1,103,496
Members
152,845
Latest member
Zynarith2
Top