Difference between revisions of "0AB0"
Jump to navigation
Jump to search
James227uk (talk | contribs) |
James227uk (talk | contribs) (→Example) |
||
Line 4: | Line 4: | ||
− | == | + | == Opcode usage == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
0AB0: key_pressed 48 | 0AB0: key_pressed 48 | ||
− | |||
− | |||
</nowiki> | </nowiki> | ||
Revision as of 15:47, 19 January 2009
0AB0
This is a special keypress opcode, used to see if the player pressed a certain key. It is very similar to 00E1, but varies slightly; it has a wider array of keys to choose from. Here's a cleo script example:
Opcode usage
0AB0: key_pressed 48 </nowiki>
Other Info
It checks if the player pressed key 48 (1) then ends the thread. (Kinda useless but good example XD)