This should do the trick. I still have problems with the syntax after all these years. But the template itself is right.SupaNinjaMan said:I swear I was competent at this once, but I need help. I've never used mission_ templates before, and you'll probably laugh at what I need help with, but. . .
I'm trying to make it display the string "Hello, World!" when the player presses 'J' in any scene. Here's my code, and my stupidity, render aid.
Code:hello_world = [ (0, 0, 0, [(key_is_down, key_j), #I'm using the condition block to launch the results directly without delay, works good enough. (display_message,"@This is a quick string. 0_o"), (display_message,"str_this_is_a_string_reference_which_can_be_reused")], [], ), ]
I tend to do the plugs of various triggers like this:
Code:
[(invoke_leet_haxorness)]+urmom+hello_world