prosperon/docs/api/player.md
2024-07-03 16:38:29 -05:00

624 B

player

0

object

[object Object]

1

object

[object Object]

2

object

[object Object]

3

object

[object Object]

players

array

A list of current players.

input(fn, ...args)

mouse_input(type, ...args)

char_input(c)

raw_input(cmd, state, ...args)

obj_controlled(obj)

print_pawns()

Print out a list of the current pawn control stack.

create()

pawns

array

[]

control(pawn)

Control a provided object, if the object has an 'inputs' object.

uncontrol(pawn)

Uncontrol a previously controlled object.