Difference between revisions of "IsWeaponInList"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
|origin = GECK1
|summary = Checks if the calling actor's currently equipped weapon is in the specified [[FormList]].
|name = IsWeaponInList
|returnVal = 0, 1
|returnType = int
|referenceType = [Actor]
|arguments =
  {{FunctionArgument
  |Name = FormListID
  |Type = ref
  }}
|example = BuddyRef.IsWeaponInList GunsList
}}
==Notes==
*None at this time.


'''[[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.
==See Also==
 
*[[ListAddForm]]
=='''Syntax'''==
*[[ListAddReference]]
 
*[[ListRemoveForm]]
[''ActorREF''].IsWeaponInList ''FormList''
*[[ListRemoveNthForm]]
 
*[[ListReplaceForm]]
=='''Examples'''==
*[[ListReplaceNthForm]]
 
*[[ListGetNthForm]]
if BuddyRef.IsWeaponInList GunsList == 1
*[[ListGetFormIndex]]
Returns true if Buddy's current weapon is in the list.
*[[ListGetCount]]
 
*[[AddFormToFormList]]
=='''Notes'''==
*[[IsInList]]
*None at this time
 
 
=='''See Also'''==
[[IsInList]]
 
=='''Reference'''==
None provided.
<!-- [[IsWeaponInList_Reference|List of functions that use IsWeaponInList]] (wiki) -->


[[Category:List Functions]]
[[Category:List Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Functions]]
[[Category:Functions]]
[[Category:Condition Functions]]
[[Category:Functions (GECK 1.1)]]

Latest revision as of 12:50, 15 August 2009

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Checks if the calling actor's currently equipped weapon is in the specified FormList.

Syntax

[help]
(0, 1:int) [Actor].IsWeaponInList FormListID:ref

Example

BuddyRef.IsWeaponInList GunsList

Notes

  • None at this time.

See Also