DefaultSetAVTrigScript

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

NOTE: Place a DefaultSetAVTrig trigger to make use of this script.

Default trigger script that can set the Actor Values (AVs) of one (or a chain of) linked actors when a trigger is entered.

Required Properties[edit | edit source]

String AV01_Name
{First Actor Value to set.}
float AV01_Value 
{First Actor Value's new value.}

Optional Properties[edit | edit source]

String AV02_Name
{Second Actor Value to set.}
float AV02_Value 
{Second Actor Value's new value.}

String AV03_Name 
{Third Actor Value to set.}
float AV03_Value 
{Third Actor Value's new value.}

String AV04_Name
{Fourth Actor Value to set.}
float AV04_Value 
{Fourth Actor Value's new value.}

String AV05_Name 
{Fifth Actor Value to set.}
float AV05_Value 
{Fifth Actor Value's new value.}

bool onlyPlayer
{Default=TRUE. Only accept trigger events from the player?}

bool onlyOnce
{Default=TRUE. Only set AVs once? If True, disables and deletes the trigger when done.}

Keyword linkKeyword
{Link Keyword for the actor (or chain of actors) whose AVs we're going to set.}

Debug Properties[edit | edit source]

Bool ShowTraces
{Default = FALSE, Set to TRUE if you want the traces in this script to show up in the log.}