currentClass is a function, so you'll have to write "this.currentClass()". Also, this example is different, because you are using a logical AND "&&", instead of an OR "||".
I determined that the actor should be the only ones checked with it since they're the only one with class. A new error appears though, it says it doesn't know the note of an undefined value. I am guessing the this where the currentclass is getting itself at is blank. Any ideas how to make it work properly?
Thanks, it works properly! <3
actually nevermind. figured that out. new question though. Is there any easy way to change what parameters are shown on the equip screen? I'd like something different than the basic stats there.
I've got some questions about invoking time. How do you exactly let the engine wait for a few seconds before another function is executed? By example, what I do is to create a loop of thousand values. I will make a loop from say 1 to 19000 just to let the loop start and wait a few millisecond / second before the function is executed. What is the best way for me to wait for a few seconds? I want to generate that.
err, I should say:
this.currentClass().note.match(/<\s*reverse\s*>/imshould be:
this.currentClass().meta.reverseNotetags are precompiled on mv 😛
No, this will only work in classes, that have an update function, which is called every frame. The property doesn't need to be called "wait", you can name it anyway you want.
I see. So for example my wait method is like 10. So it gets decreased every update. If I do something like this:
if(this._maxwait != 0){ this._maxwait--;} else { this._maxwait = 0;}will this work properly? I am thinking this would be way too fast.
1 second == 60 frames by default, I think.
So maxwait of 10 will make it wait 1/6 of a second.
It works now but it made my HP 999999
It still makes it 9999. I tried doing:
$gameParty.battleMembers()._paramPlus[0] = $gameParty.battleMembers().hp;and its not showing the current hp value. Something's wrong.