Straight to the point: I did some testing on a newly created empty Direct-X application project, after something never seemed to work in another project file and I couldn't figure out why.
Basically this is what I have:
Start of Layout Event -> System:Run Script ("array1 = [1,2,3,4,5]")
Script: [code:tup5wvjd]import random
Now, what happens? When I press 'A' - nothing happens at all.
So how do I assign a new value to 'sizeaccel' with this code? - Clicking the left mouse button.
Am I confused, or is the program confused? I mean, I only just started learning python, but this seems weird to me.
No matter what Key, it always only sets the value on the left mouse button click.
AND I tried another function, MouseKeyboard.AnyKey() - This one is even better, the 'sizeaccel' variable now spins through all numbers in 'array1' every step, without doing (pressing, clicking) anything at all.
Thanks in advance!