Store actor notetag in variable?

Hello!

Is there a way to store informations from notetags of an actor in a variable with a scriptcall?
Like when I write in the notebox in the database of actor 2 <Talent: Jump>
is there a way to but it into an variable (or conditional branch) to use it in a game and get
"Jump" out of it?

I would like to give different actors different informations that I want to be able to use.

(I think I could also work with normal skills, but I would really like to know, if there is an skriptcall
to get it)

I found something like that for items, but my programming skills are not good enough
to alter it for actors.
Here the scriptcall that I found for items

$dataItems[itemId].meta.Name
The reference would be $dataActors[2].meta.Talent

Note that this seems of limited usefulness in your own game. Since you're the one entering the notetag and you can't change it during play, you already know what its value is going to be so you could just type that in.

But you know what your intended usage is 🙂
The reference would be $dataActors[2].meta.Talent

Note that this seems of limited usefulness in your own game. Since you're the one entering the notetag and you can't change it during play, you already know what its value is going to be so you could just type that in.

But you know what your intended usage is 🙂

Thank you!
And yes, Iam aware of all that! I used something similiar in a little game I made with VXAce and it was usefull for me ^^

But something seems to not work.
When I try to store the info for actor 0 (Leader) the variable says 0, and not the Talent I want.
Unbenannt-1.jpg


In the notebox of the Leader I wrote <Talent: Jump>
There's no such person as $dataActors[0]

Actor IDs (and all database IDs) start at 1.

You must use the actual ID of the actor in the database, no leading zeros.

If you're trying to dynamically reference whoever the current leader is, that's:
Code:
$gameParty.leader().actor().meta.Talent
There's no such person as dataActors[0]

Actor IDs (and all database IDs) start at 1.

You must use the actual ID of the actor in the database, no leading zeros.

If you're trying to dynamically reference whoever the current leader is, that's:
Code:
$gameParty.leader().actor().meta.Talent
Oh damn. Sorry.
Alright now its working!

thank you really much for the help again !
just FYI:

the meta function and how it works is described in the help file for MV

Original thread: https://forums.rpgmakerweb.com/threads/store-actor-notetag-in-variable.162155/