ProcessObjectControl¶
Description¶
Handles object input variables.
Note
In standalone RSDKv4, this function has no effect unless object.controlMode
is set to 0
. In RSDKv5U, object.controlMode
must be lower than 4
.
Parameters¶
None.
Return Value¶
- Sets
object.up
,object.down
,object.left
, andobject.right
to their equivalentkeyDown
values. - Sets
object.jumpPress
totrue
ifkeyPress.buttonA
,keyPress.buttonB
, orkeyPress.buttonC
are true; otherwise, it's set tofalse
. - Sets
object.jumpHold
totrue
ifkeyDown.buttonA
,keyDown.buttonB
, orkeyDown.buttonC
are true; otherwise, it's set tofalse
.
Note
In RSDKv5U, the controller ID used for the inputs is the value of object.controlMode
plus 1.