Function GetPlayerNeutralPassive

  • Returns the zero-based ID of neutral passive player.

    • Classic: 15 (hardcoded as PLAYER_NEUTRAL_PASSIVE)
    • Reforged: 27

    Returns number

    Note

    This is only affected by WorldEditor version (>=6060) specified in the map's war3map.w3i file. Further reading.

    See: PLAYER_NEUTRAL_PASSIVE, GetPlayerNeutralAggressive, GetBJPlayerNeutralExtra, GetBJPlayerNeutralVictim.

    Patch

    1.29.0.8803

Generated using TypeDoc