GetPlayerState

Returns the value of the target Player state.

Inputs

  1. Player
  2. PlayerStateBoolItem | PlayerStateNumberItem | PlayerStateVectorItem

Output

  • Bool | Number | Vector
<block type="GetSoldierState">
    <value name="VALUE-0">
        <block type="EventPlayer"></block>
    </value>
        <value name="VALUE-1">
        <block type="SoldierStateBoolItem">
            <field name="VALUE-0">SoldierStateBool</field>
            <field name="VALUE-1">IsAISoldier</field>
        </block>
    </value>
</block>