GetPlayerNeutralPassive
- comment
Returns the zero-based ID of neutral passive player.
- Classic: 15 (hardcoded as
PLAYER_NEUTRAL_PASSIVE
) - Reforged: 27
- Classic: 15 (hardcoded as
- 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
- Source
- common.j
- return type
integer
- Source code
constant native GetPlayerNeutralPassive takes nothing returns integer