Background for Fallout 4
Member of the ReferenceAlias script
floatfunctionTryToGetValue(ActorValueakAV)

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

Even though GetValue works on references, this function only works with actors, and so will fail and return 0 if the alias contains a reference, but not an actor.


Parameters

ActorValueakAV

CK Wiki Description

the Actor value you want to get


Examples

MyAlias.TryToGetValue(AggressionAV)

Auto-Generated Example

ActorValue myActorValue__akAV

float returnedValue = myReferenceAlias__toCallFunctionOn.TryToGetValue(myActorValue__akAV)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.