GetBJPlayerNeutralVictim

comment

Returns the zero-based ID of neutral victim player.

  • Classic: 13 (hardcoded as bj_PLAYER_NEUTRAL_VICTIM)
  • Reforged: 25
note

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

note

See: bj_PLAYER_NEUTRAL_VICTIM, GetPlayerNeutralAggressive, GetBJPlayerNeutralExtra, GetPlayerNeutralPassive.

patch

1.29.0.8803

Source
common.j
return type
integer
Source code
constant native GetBJPlayerNeutralVictim    takes nothing returns integer