I realize what I am about to say will sound really newbish, and I am aware that this is likely a very simple matter of which I am just not executing correctly, but I require some help to understand, further my learning of the platform and the scripting, and ultimately complete my own project.
I can make trigger zones show text with the built in textinzone script, though I have been unsuccessful using my own or other's codes that should also create this effect. While using the textinzone is fine, I know I will need to write my own or use other code in the future, so I'd like to understand more on this, however my main issue currently is with the textinzone. Unlike say Disney Infinity, where a trigger can produce a result, and the result can kill the trigger to prevent future use, I cannot find a means to do this in GG. The outcome is that whenever a player walks through the zone, the text repeats every time, and I want the text to end after a specific condition is met, whether that be get a key or just display the text once for information and then not again (currently my main goal), or rotate the text from multiple different text lines (for example: make a npc say 3 different phrases on cycle, once the third phrase is said it repeats from the first for as often as the player walks into the zone).
So, I need someone who can help me figure out the appropriate code and how to execute it within GG (I am aware some things require workarounds, like placing a second obj, making it run another script like variables from the start of the level, and recalling that information from the object in use though I am not sure to what areas those needs for a workaround are best suited. I feel like this should be able to be handled from the same script in the zone, but I am aware that it may not be that simple in GG.) that will either count the amount of times the text has executed and then stop it, kill the triggerzone, or grant me an option to say x the first time and say y, z the second and third times. Any of these would lead to the same overall usages and lessons that I am in need of.
I'd welcome any help I can get, as it is my goal to learn to build GG, LUA, C++, and AGK.
Thanks, LS