HasAmmoEquipped

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender version 6.3.0.

Description

Returns 1 if a specific ammo is currently equipped by the calling actor reference, 0 otherwise.

This function can be used either in a script, or as a Condition.

Syntax

[help]
(0/1) actorRefr.HasAmmoEquipped Ammo:form 

Or:

(0/1) actorRefr.IsAmmoEquipped Ammo:form 

See Also