@waynee95 Just checked, it does work through eventing. No problems here.
waynee95's Plugin Collection [NEWEST: WAY_MenuBackgrounds]
● ARCHIVED · READ-ONLY
-
-
@MRD256
Can you post the complete notetags? -
-
@MRD256
But you didn't include the actual notetags you used. Sometimes a typo is causing the issue.
However, I think I found your issue. Add this to the bottom of the notetag:
PHP:$gamePlayer.refresh(); -
I thought those were the note tags, it says so in your script
EDIT: oh wait... I'm an idiot, I forgot the
<Custom On Equip Eval>
</Custom On Equip Eval> -
(delete this comment)
-
@MRD256
Yeah, no problem.
Let me know if it works with that addional scriptcall.
(PS: Double posts are not allowed. Next time just edit your older post.) -
I know, that's why i said delete it to the mods
-
@waynee95
I tried it with the bracket things for the code, and it still doesn't work. Here are the note tags. It's still not changing when I go from A to B.
Equipment A
<Custom On Equip Eval>
user._prevCharName = user._prevCharName || user._characterName;
user._prevCharIndex = user._prevCharIndex || user._characterIndex;
user._prevFaceName = user._prevFaceName || user._faceName;
user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
user._prevBattlerName = user._prevBattlerName || user._battlerName;
user.setCharacterImage("Resistance (Students)", 0);
user.setBattlerImage("Kanata (Student)");
user.refresh();
</Custom On Equip Eval>
Equipment B
<Custom On Equip Eval>
user._prevCharName = user._prevCharName || user._characterName;
user._prevCharIndex = user._prevCharIndex || user._characterIndex;
user._prevFaceName = user._prevFaceName || user._faceName;
user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
user._prevBattlerName = user._prevBattlerName || user._battlerName;
user.setCharacterImage("Resistance", 0);
user.setBattlerImage("Kanata");
user.refresh();
</Custom On Equip Eval>
After this what am I doing wrong? -
@MRD256
Try this.
Equipment A
Code:<Custom On Equip Eval> user.setCharacterImage("Resistance (Students)", 0); user.setBattlerImage("Kanata (Student)"); user.refresh(); $gamePlayer.refresh(); </Custom On Equip Eval>
Equipment B
Code:<Custom On Equip Eval> user.setCharacterImage("Resistance", 0); user.setBattlerImage("Kanata"); user.refresh(); $gamePlayer.refresh(); </Custom On Equip Eval> -
I tried that, but now when I try to boot up the game, it get an Error saying:
"CUSTOM ON EQUIP ERROR" -
@MRD256
Hmm, okay. I cannot seem to replicate that error. Could you replicate that error in this small demo project and send it back to me?
https://www.dropbox.com/s/d4izk5p55rvaxqs/SuperSmallDemo.zip?dl=0 -
I'll work on that, but in the meantime, I'll resort to plan B. What's the code to run a common event?
-
@MRD256
Code:$gameTemp.reserveCommonEvent(ID);
Do you want to run a common event that changes the graphics? -
yes, I know it's tedious, but I can't make much progress in the game until this is done so...
-
i think i fund a bug WAY_CustomFaceImageEval and WAY_CustomOnEquipEval dont play nice. I manege to make CustomOnEquip to work whit you help (thanks for the support) but when i active CustomFaceImage it stops working.
Ok, 1 problem is solved, WAY_CustomFaceImageEval whont work in my game, i think its SRD_CharacterCreatorEX that wont allow the change (comment that part on SDR plugin almost briick my game hahahahah).
Now i just need to find an alternative for that. -
Update WAY_CustomOnEquipEval v1.3
Version 1.3: 21.09.2017
- Fixed compatibility issue with Ramza's Dual Wield.
There was an issue with Ramza's Dual Wield plugin. Now this issue is fixed. Just make sure to place my plugin below his Dual Wield plugin!
@Tatsumaro
Yeah, those two plugin won't play nice together unfortunately. -
Added WAY_CustomOnDeathEval
This plugin allows you to run code when a battler dies.
-- Actor, Class, Enemy, Weapon, Armor, State notetag:
<Custom On Death Eval>
code
</Custom On Death Eval>
This will run when the battler dies. You can use 'user' or 'a' to reference the died battler. You can use 'killer' or 'b' to reference the battler who killed the user. Also you can use shortcuts for referencing switches, variables and the game party. Instead of using $gameSwitches, $gameVariables and $gameParty, you can just use s, v, and p.
If there are any bugs, please let me know! -
Hi @waynee95
Any updates? Was looking for your damage macro plugin but it's been unavailable for the past 2 weeks -
Update 10.11.2017
I overhauled all my plugins. They are now dependent on my WAY_Core.
If you find any bugs, please let me know!
EDIT:
Update WAY_CustomOnDeathEval v1.0.1
"user" as a variable inside the notetag was not working.