—
Yeas lets forget about '()'
i need to have posibility like in your previous example
i type in local variable 'banned words 'my own words
but in this case i need posibility to decide what action typed word do next
IGDev Try this: https://drive.google.com/file/d/0B56h97 ... sp=sharing
Checks a string for specific words. When it finds one it executes a specific function for that word.
IGDev Try this: https://drive.google.com/file/d/0B56h97 ... sp=sharing Checks a string for specific words. When it finds one it executes a specific function for that word.
ok!
so first thing
all typed characters should be displayed on output text
when function is called 'fn-tree'
output text should change this word to something else for example lets change to "TREE" in this function
something like that
https://www.dropbox.com/s/yysfg5jblcfjm ... 5.png?dl=0
Develop games in your browser. Powerful, performant & highly capable.
ok next image please take look to move forward
https://www.dropbox.com/s/h0kacsc4cjnn2 ... 4.png?dl=0
— tip
https://www.dropbox.com/s/8c7fj3mfhdinu ... 1.png?dl=0
IGDev how do you want to 'edit' the highlighted word?
edit: you can change all the words that are defined in the word string.
IGDev how do you want to 'edit' the highlighted word? In event sheet displayed and changed word example "TREE" i need to have posibility to modify what text otuput (after finding right word ) show me when i type 'tree' because now i cant display 'Flower' when i type in textbox 'tree' Remember 'Flower' or 'TREE' its only example finding word 'tree' and displayed word "xxx " should be different in your last capx You change only letters for BIGGER LETTERS i really dont know how do i explain better https://www.dropbox.com/s/8c7fj3mfhdinu ... 1.png?dl=0
In event sheet
displayed and changed word example "TREE"
i need to have posibility to modify what text otuput (after finding right word ) show me when i type 'tree'
because now i cant display 'Flower' when i type in textbox 'tree'
Remember 'Flower' or 'TREE' its only example
finding word 'tree' and displayed word "xxx " should be different
in your last capx
You change only letters for BIGGER LETTERS
i really dont know how do i explain better
IGDev Your image shows you want to check if "tree" is entered then you want to change the "tree" word to whatever you want.
Ok, try this. Ive added a dictionary object that contains all the words to match as well as what to replace it with in the result string: https://drive.google.com/file/d/0B56h97 ... sp=sharing
IGDev Your image shows you want to check if "tree" is entered then you want to change the "tree" word to whatever you want. Ok, try this. Ive added a dictionary object that contains all the words to match as well as what to replace it with in the result string: https://drive.google.com/file/d/0B56h97 ... sp=sharing
That works great, i tested few times
thank you very much !