DefaultQuestRespawnScript

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Simple script you attach to your quest to respawn Aliases that have the DefaultAliasRespawnScript on them.

Respawn_Markers[edit | edit source]

ObjectReference[] RespawnMarkers 
{array of respawn markers - actors will randomly respawn at these out of player's LOS}

ObjectReference RespawnMarkerFailsafe 
{this is where I will respawn if player has LOS
on other respawn points}

Quest_Stages[edit | edit source]

int startStage = 0  
{Quest stage that needs to be set for respawning
to start}

int doneStage = 0  
{Respawning will stop if this stage is set}

Respawning_Values[edit | edit source]

int respawnTimeMin = 5 
{min time between death and respawn in seconds}

int respawnTimeMax = 10 
{max time between death and respawn in seconds}

int respawnPool = 0 
{how many NPCs can be respawned?
0 = infinite
}

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.}

See Also[edit | edit source]