Function; Player_IsShipInVolume - HWRM/KarosGraveyard GitHub Wiki

Player_IsShipInVolume(<iPlayerIndex>, <sVolumeName>)

Description

Returns true if any ships belonging to <iPlayerIndex> are within <sVolumeName>.
Note: this function doesn't accept Point Volumes.

Example

if Player_IsShipInVolume(1, "Vol_Shipyard_Prox")==1 then ...Code... end

Arguments

<iPlayerIndex>: the index number of the player.
<sVolumeName>: the name of the volume.

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial