Hi,
What is the script for checking if a specific string is in the notes field of the Actor section of the database for an actor with a known ID that isn't in the party?
Thanks,
To clarify that, if actorId = 5, would $dataActors[5].note.includes(searchString), have the same effect in the script line of the conditional branch field?
Thank you. That did in fact work.
It turns out the reason it didn't appear to be working was because I had another script that was running into a different error later on, and I thought the error from the second script was caused by the first.
$dataActors ($data-anything) is your entries in the database. Anything you typed into a field in a database entry (including the notes) is stored there.
$gameActors are objects created during gameplay and written to the save file so that you can change parts of an actor during the game. That's how you can rename an actor, add or remove skills, change its class, etc.
Thanks! That clears a lot up.