GetPackageTargetDistance

Revision as of 07:56, 16 July 2014 by imported>Odessa (from nvse_whatsnew)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the distance/count of a package.

Syntax

(int) GetPackageTargetDistance ToCheck:package 

Or:

(int) GetPackageTargetCount ToCheck:package

Example

int iDist
set iDist to GetPackageTargetDistance MyEscortPackage

See Also