AX Find

From GECK
Jump to: navigation, search


A function added by the pp NVSE Plugin.

Description

FormTraits are a more specialized version of Auxiliary-Variable variables that support nested arrays, and assigning a form key and index is optional.

Syntax

[help]
(int) AX_Find toFind:variable mapKey:string deepSearch:bool form:ref

Example

iSize = ax_Find weap10mmPistol "LinkWeapons" 

Returns the index of weap10mmPistol, inside of the LinkWeapons aux on the weapNV9mmPistol.

Notes

  • all AX values remain valid for the session, and behave like the Temporary-Public class "*_" in aux variables.

See Also