Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: JayKay on July 22, 2020, 02:00:23 PM

Title: [SOLVED] Check if a word input exists within the Text Asset file
Post by: JayKay on July 22, 2020, 02:00:23 PM
I need help making a word game where you input a word with five letters and checks it if the word is actually valid or not. I currently have little experience in using arrays in Playmaker, but I somehow got up to this point (picture) by reading a post back from 2011.

Some more information just in case:
The Play Maker Array List Proxy (Script) loads a total content of 5757 after I press play. My five string values are b,e,g,i,n combined to a single string "begin" stored in a variable called wordOne. I have double-checked the word "begin", it is present on the file. However, the result is still Invalid.

Please show me the correct way on how to do this O' playMaker Masters!

- JK

Title: Re: [SOLVED] Check if a word input exists within the Text Asset file
Post by: JayKay on July 23, 2020, 12:06:10 AM
I changed Array List Contain to Array List Contains Name and it fixed the problem!
My dopamine levels are back, Thanks!

- JK
Title: Re: [SOLVED] Check if a word input exists within the Text Asset file
Post by: LuminRabbit on October 23, 2020, 07:27:06 PM
Appreciate the solution! I had the same issue 🙂