Mod:Creation Kit/TryToSetValue - ReferenceAlias

Member of: ReferenceAlias Script

This is a convenient way to set the actor value of an actor in an alias without calling GetActorReference on it. It's mostly useful in cases where you have lots of aliases that may or may not be filled and you want to call SetValue on them without having to test for an actor being present first.

Parameters

 * akAV: the Actor Value name you want to set
 * afValue: the value you want to set

Return Value
True if the alias contained an actor, false if the alias didn't contain an actor.