I need to see where you put the console log
Puppet Knight - Element Impact && Element Icons
JS Plugin Releases (RMMZ)The log comes before `return actorElemIcon`, but otherwise this should return fine.
This did make me realize there was a sligght bug in how element Icon was being puulled. Download the latest 1.5 version before trying again.
Otherwise, using the code as i gave it to you should work.
still shows nothing... i downloaded 1.5 too
Can i see what element icon settings parameters you've set up for one of your elements ?
Also what Element Rule are you uusing?
Also what Element Rule are you uusing?
let me know if you need any more information
Are you checkingg this after the actor has uused the skill, or at the beginningg of battle? Also are you usingg a new ggame or an old save?
(New Game)
see that's one of the things that i was going to ask about before the hud maker problem, what do you mean by "checking"? just to be safe i made the attack skill call a common event with the script
const actorElement = PK_ElementImpact.getCurrentElement(battler);
const actorElemIcon = PK_ElementImpact.elementIcon(actorElement);
and when that didnt work i used
const actorElement = PK_ElementImpact.getCurrentElement($gameParty.members()[1]);
const actorElemIcon = PK_ElementImpact.elementIcon(actorElement);
Is there any other way to "check" it? what did you intend? i assumed the element would apply to the actor once they use the skill
What is the element of the skill you're using?
Show a screenshot of the skill if possible too
Show a screenshot of the skill if possible too
I have tried both using the regular attack skill with the "normal attack" element while using the above "short sword" that has the "Slashing" element and a skill that just has the element as "Slashing"
and for the battle member you are attacking with and have the console log set up for, what is printing to the console?
like i said before i have little experience with programming but absolutely 0 with the console so here's all of it and hopefully it's in there. this is after i used the skill that prints to console by the way
You have to click the button/tab that says console at the top left of that screenshot. That'll show me what I need to see
oh no... it seems like an incompatibility with VisuStella's Core?
Interesting, is my plugin above or below core engine)VS plugins
I turned off all visustella plugins and the empty icon now displays, but once i attack and give my actor an element this error appears:
Above, i could put it below
Putting it below results in the same error
Putting it below results in the same error
Are you still calling that common event you tied to skill? That's likely what's causing the issue for both now id imagine
I took away the common event and the error no longer appears. the correct icon does not show either, though, only the blank one at the beginning (icon ID 1)
Could you dm me a link to your project so I can take a look?
Original thread: https://forums.rpgmakerweb.com/threads/puppet-knight-element-impact-element-icons.173533/