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.rightto their equivalentkeyDownvalues. - Sets
object.jumpPresstotrueifkeyPress.buttonA,keyPress.buttonB, orkeyPress.buttonCare true; otherwise, it's set tofalse. - Sets
object.jumpHoldtotrueifkeyDown.buttonA,keyDown.buttonB, orkeyDown.buttonCare true; otherwise, it's set tofalse.
Note
In RSDKv5U, the controller ID used for the inputs is the value of object.controlMode plus 1.