GobbleGobble
Villager
- Xy$
- 0.00
Hello.
What I'm looking to do is conditional evaluations in notetags that cannot be solved through the conditions feature of RMV...
In battle...
If [actor 1] targets [enemy 1] then...
Examples:
- Either triggers a common event
- Or toggles a switch on/off or increases a variable...
- Or triggers dialogue, effect, or some kind of buff on Actor 1 (or whomever else I want to target)...
...I have this one example to go by from Yanfly's page about evalulations with Battle A.I....
Example: Eval user.name() === ‘Bat A’: Skill 10, Highest HP%
However, things like user.name() and other such inputs are foreign to me. Is there an index for things like this?
Can someone provide an example of conditional if, then, else inside of notetags written as a single-line script?
And is there an index I can refer to?
What I'm looking to do is conditional evaluations in notetags that cannot be solved through the conditions feature of RMV...
In battle...
If [actor 1] targets [enemy 1] then...
Examples:
- Either triggers a common event
- Or toggles a switch on/off or increases a variable...
- Or triggers dialogue, effect, or some kind of buff on Actor 1 (or whomever else I want to target)...
...I have this one example to go by from Yanfly's page about evalulations with Battle A.I....
Example: Eval user.name() === ‘Bat A’: Skill 10, Highest HP%
However, things like user.name() and other such inputs are foreign to me. Is there an index for things like this?
Can someone provide an example of conditional if, then, else inside of notetags written as a single-line script?
And is there an index I can refer to?