Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | retsi3602 |
How do I search for keywords within a line edit node?
Hey , I’m building an educational game for a school project in which the user inputs their answer as a string into the node and i need some code that will allow me to search for keywords in their answer and based on how many they get correct either place them into a fail, good or perfected category.
so if the question was what are the performance objectives of a business and the answer is: speed, dependability, flexibility, customization, quality and cost. it would need to search for those words and if > 50% is correct give them a score of good, < 50% is correct give them a fail and if 100% is correct then give them a perfected.
Duplicate of: How do I search for keywords within a line edit node? - Archive - Godot Forum
njamster | 2020-06-18 11:45