- Found in:
- Vanilla
intfunctionFindInReferenceAliasArray(ObjectReferenceObjectToCheck, ReferenceAlias[]ArrayToCheck)Global
Description
Wiki Description
Finds the reference in the alias array and returns the index (or < 0 if not found)
Documentation Comment
kmk
Caveats
Parameters
Examples
int index = CommonArrayFunctions.FindInReferenceAliasArray(Dogmeat, SettlerAliases)
if index >= 0
SettlerAliases[index].ForceRefTo(None) ; Pop dogmeat out of the alias
endIfAuto-Generated Example
ObjectReference myObjectReference__ObjectToCheck
ReferenceAlias[] myReferenceAliasArray__ArrayToCheck
int returnedValue = CommonArrayFunctions.FindInReferenceAliasArray(myObjectReference__ObjectToCheck, myReferenceAliasArray__ArrayToCheck)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
