ForceRefIfEmpty - ReferenceAlias
Revision as of 13:08, 26 October 2011 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ReferenceAlias Script Forces this alias to use the specified reference, but only if the alias is currently empty...")
Member of: ReferenceAlias Script
Forces this alias to use the specified reference, but only if the alias is currently empty
Syntax[edit | edit source]
Function ForceRefIfEmpty(ObjectReference akNewRef)
Parameters[edit | edit source]
- akNewRef: The ObjectReference to tell this alias to use, if empty
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Force the alias to use the random person as the reference, but only if the alias is currently empty
Alias_JohnDoe.ForceRefIfEmpty(RandomPerson)