IsWeaponInList

From the CreationKit Wiki
Revision as of 17:11, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description[edit | edit source]

IsWeaponInList Determines if the current weapon in the form list. It is called on a reference (should have a container) and takes a form list as the parameter.

Syntax[edit | edit source]

[ActorREF].IsWeaponInList FormList

NOTE: Use of this as a console command appears to be deprecated.

Examples[edit | edit source]

if BuddyRef.IsWeaponInList GunsList == 1

Returns true if Buddy's current weapon is in the list.

Notes[edit | edit source]

  • None at this time


See Also[edit | edit source]

IsInList

Reference[edit | edit source]

None provided.