Hi, first post here.
I've been learning the basics of Playmaker for a while now, and have started to create a game. I've got most of the controls and interface in place, except for one feature I want to create but don't really know how.
Within the game, the player has access to a book that they can flick through page-by-page to find clues. So far, the pages are in an array and I've implemented buttons to go forward or backward 1 page, or jump straight to the contents or index pages.
But ideally what I want is a search function, so the player can type in a word into a text input box, and for the game to compare that string to the whole book text looking for matches, then display the results. I don't mind at this stage whether the search only looks for complete words that match exactly, or looks for any instances of the string (e.g. if the player types 'witch' it would also return 'switch' as a result) - whichever is easiest to implement.
I'm really just looking for some pointers how to get the game to scan a large body of text looking for matches. What would be the best way to implement such a function? Is it something I can do using Playmaker alone?
Any advice appreciated. Thanks.