Skip to content

get_player_holding_object

Description

Writes the player holding an object into an out-variable.

Parameters

<object> <player_out>

  • <name> — required operand
  • {a|b|c} — choose one alternative
  • [ … ] — optional clause

Example

megalo
action get_player_holding_object flag player_holding_flag

Example from HREK broken/calvinball.txt.

Supported Versions

VersionSupported
49Yes
73Yes
106Yes
107Yes
107 (MCC)Yes

See also action syntax.