So I would like to use the script below to use specific skills from the actor with the use of buttons.
http://forums.rpgmakerweb.com/index.php?/topic/56988-button-cast-plugin/
The problem now is that currently there doesn't exist a way that the user of the game can change the skills or the buttons used, while playing the game.
So in the moba mode you can press for example "q" and then it uses skill "dual attack" (for the first actor).
My question now is, if it would be possible and how it would look like to use a variable in the notetag like this:
<ButtonCast Key: var1: var2>
[SIZE=13.6px]where var 1 is set to for example "t" (button)[/SIZE]
[SIZE=13.6px]and var 2 is set to "15" (skill id) in other script calls.[/SIZE]
[SIZE=13.6px]Or would it be possible to get the note and change it in a external script call alltogether ? like[/SIZE]
[SIZE=13.6px]$gameActors.actor(1).getNote("ButtonCast Key").setValues("t", 15);[/SIZE]
[SIZE=13.6px]sorry for false syntax and the like, first time working with javascript and wanted to know if it would be possible for something like this to be implemented.[/SIZE]
http://forums.rpgmakerweb.com/index.php?/topic/56988-button-cast-plugin/
The problem now is that currently there doesn't exist a way that the user of the game can change the skills or the buttons used, while playing the game.
So in the moba mode you can press for example "q" and then it uses skill "dual attack" (for the first actor).
My question now is, if it would be possible and how it would look like to use a variable in the notetag like this:
<ButtonCast Key: var1: var2>
[SIZE=13.6px]where var 1 is set to for example "t" (button)[/SIZE]
[SIZE=13.6px]and var 2 is set to "15" (skill id) in other script calls.[/SIZE]
[SIZE=13.6px]Or would it be possible to get the note and change it in a external script call alltogether ? like[/SIZE]
[SIZE=13.6px]$gameActors.actor(1).getNote("ButtonCast Key").setValues("t", 15);[/SIZE]
[SIZE=13.6px]sorry for false syntax and the like, first time working with javascript and wanted to know if it would be possible for something like this to be implemented.[/SIZE]