As far as I can tell, events don't have a "note" section like maps and other things. But there is an option to add a comment and you can put a <comment tag> in those which basically functions like a notetag.
Hmm, Events have a section next to the Name field that is called Note, but it seems that they function differently from the Map/Database note fields.
Basically, to make it clearer just what I'm asking:
For database objects, you can write something in the Note field of an actor like:
You can then make an event with a conditional branch, that looks like:
Code:
if ($dataActors[1].meta.fame >= '12') {
Show Text: Wow, you are so famous!
} else {
Show Text: Umm, who are you?
}
The game would then evaluate the notetag of the Actor with Id 1 and if his 'Fame' was 12 or more, it would should the first text box, if not, it would show the second text box.
Basically, I want to know if it's possible to do something similar when you write the notetag in the Note field of a map Event, with just script calls. I've tried things like:
Code:
$gameMap.event(5).fame == '12';
$gameMap.event(5).meta.fame == '12';
$gameMap.event(5).note.fame == '12';
All of them lead to an error 'Cannot read property 'fame' of undefined. So it seems it doesn't work similar to the database objects (which isn't surprising, honestly) or I am going about this the wrong way. I can't find anything in the code or debug console that would lead me to a property I can access that would store this information, so I'm wondering if this is possible?