Quote:
Originally Posted by xAndrewx
Instead of text I would've used your method. Creating 26 images (or however many keys you want) and using int(random(0, 27))
|
Ah. if i understand what you're saying correctly, he wasn't trying to use a lot of the keys. he wanted to use onWeaponFired() for his project. the array was just meant to contain his images names. :P
he was trying to create a bomb that would randomly change images each time he pressed D. using putbomb2();
Note:
just for quick reference, when i say "he" i meant the guy i was trying to help.