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,138
Reaction score
15,532
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,780
Reaction score
1,629
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,780
Reaction score
1,629
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,780
Reaction score
1,629
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

"Yeah. It's been a rough road lately. But that's the thing about the Rangers. It doesn't matter how hard it gets, or how many of them fall. They never stop fighting. The Rangers NEVER stop fighting".

Angela Deth, you are a hero of mine. Sorry for my first run of Wasteland 3.
We must press on. For all those we couldn't save. For all those we might yet save.
FirestormNeos wrote on DarkPlasmaBall's profile.
asking this here instead of the thread in question to avoid derailing it, but I'm curious; is there a particular reason you'd include a "Terms of Use" for an RPG Maker game? Like, are there multiplayer features for the game you're working on?
The holidays are upon us! Everyone search for safety from the grocery store music!
I don't understand people sometime. Walking to work today came across someone walking the opposite way in a nice suit, I politely move to the side into the shrubbery so he doesn't have to get his suit dirty and say "good morning" as he passes me, he turns around glaring daggers and asks "why are you talking to me?" like he's bloody offended by me wishing him a good morning or something. Just, why?

Forum statistics

Threads
117,138
Messages
1,104,893
Members
153,202
Latest member
EnderMon
Top