Return Type: real
Returns the player object ID.
Return Type: real
Returns the player script ID.
Arguments: 1) real: speedNormal 2) real: speedFocus
Sets the normal speed and focus speed of the player.
Arguments: 1) real: left 2) real: top 3) real: right 4) real: bottom
Sets the area within which the player can move.
Arguments: 1) real: value
Sets number of lives for the player.
Note: Can be a non-integer value.
Arguments: 1) real: value
Sets number of spells/bombs for the player.
Note: Can be a non-integer value.
Arguments: 1) real: value
Sets power value for the player.
Note: Can be a non-integer value.
Arguments: 1) real: frames
Sets the number of frames for player invincibility.
Arguments: 1) real: frames
Sets the number of frames before respawning the player after player death.
Arguments: 1) real: frames
Sets the number of frames the player can deathbomb for after being hit.
Default is 15 frames.
Arguments: 1) real: frames
Sets the number of deathbomb frames the player loses per deathbomb.
Default is 3 frames.
Arguments: 1) real: y
Sets the y coordinate of the auto collect line.
A negative value removes the line.
Default is no autocollect line.
Arguments: 1) bool: forbid
When set to true, the player cannot use normal shots.
Arguments: 1) bool: forbid
When set to true, the player cannot use spells/bombs.
Arguments: 1) bool: forbid
When set to true, the player cannot move.
Arguments: 1) real: radius
Sets the intersection radius between the player and items.
If the item is within this radius, it will be collected instantly.
Defaults to 24.
Arguments: 1) real: radius
Sets the absorb radius between the player and items.
If the item is within this radius, it will begin to move towards the player.
Defaults to 0 (no effect).
Note: This will be cancelled by CancelCollectItems.
Arguments: 1) real: x 2) real: y
Sets the respawn point of the player.
Pass REBIRTH_DEFAULT as either coordinate to reset it to its default value.
The default value is (GetStgFrameWidth() / 2, GetStgFrameHeight() - 48)
Return Type: real
Returns the x-coordinate of the player.
Return Type: real
Returns the y-coordinate of the player.
Return Type: real const
Returns the player state.
State is one of:
STATE_NORMAL (player is alive) STATE_HIT (after being hit, during counter bomb frames) STATE_DOWN (after being hit, before reappearing) STATE_END (game over)
Return Type: real array
Returns the player movement speed as an array [unfocusedSpeed, focusedSpeed].
Return Type: real array
Returns the player's clip as an array [left, top, right, bottom].
Return Type: real
Returns the number of player lives.
Return Type: real
Returns the number of player spells/bombs.
Return Type: real
Returns the amount of player power
Return Type: real
Returns the number of frames during which the player is invincible.
Return Type: real
Returns the number of frames during which the player is respawning.
Return Type: real
Returns the number of frames during which the player can deathbomb.
Arguments: real: obj Return Type: real
Returns the angle from the given object to the player.
Return Type: bool
Returns true if the player can use normal shots, false otherwise.
Return Type: bool
Returns true if the player can use spells/bombs, false otherwise.
Note: The returned value may differ from a previously set SetForbidPlayerSpell. For instance, it is forced to false during a LastSpell.
Return Type: bool
Returns true if the player is allowed to move, false otherwise.
Return Type: bool
Returns true if the player is deathbombing, false otherwise.
Return Type: bool
Returns true if the player is utilizing a bomb, false otherwise.
Return Type: bool
Returns the system ID of the player script.
This value is defined inside the player script in the #ID header.
Return Type: bool
Returns the replay ID of the player.
This value is defined inside the player script in the #ReplayName header.