I made a skill that will 'analyze' an enemy's weakness, but the way it works, it has a 1 turn delay before the weakness is revealed.
So it just creates a state on the enemy that will last for 1 turn, then on expiring, it will call a common event that runs the 'Reveal Enemy Weakness' plugin command from Visustella.
>I have the proper enemy target index# saved to variable 299, But the problem is, in the plugin command dropdown there is no option except to put a static number, like 2 or 3 etc for the battler (index position) to target.
How can I put a variable (which holds the battle position) in here?
I've tried:
enemy index $gameVariables.value(299)
and
enemy index \v[299]
-but none of them work... T-T
Maybe if I could use a scriptcall instead of a plugin command, but there's no info about that on the plugin wiki...
I realize that the ElementalWeakness plugin is paid, but this is less about that, and more about 'how to add a variable' into a javascript plugin command dropdown which many other plugins also seem to utilize.
The same thing happens with the Free Battle Core 'add state' plugin command if anyone wants to see what I mean.
So it just creates a state on the enemy that will last for 1 turn, then on expiring, it will call a common event that runs the 'Reveal Enemy Weakness' plugin command from Visustella.
>I have the proper enemy target index# saved to variable 299, But the problem is, in the plugin command dropdown there is no option except to put a static number, like 2 or 3 etc for the battler (index position) to target.
How can I put a variable (which holds the battle position) in here?
I've tried:
enemy index $gameVariables.value(299)
and
enemy index \v[299]
-but none of them work... T-T
Maybe if I could use a scriptcall instead of a plugin command, but there's no info about that on the plugin wiki...
I realize that the ElementalWeakness plugin is paid, but this is less about that, and more about 'how to add a variable' into a javascript plugin command dropdown which many other plugins also seem to utilize.
The same thing happens with the Free Battle Core 'add state' plugin command if anyone wants to see what I mean.