Class PlaceNpc
Moves NPC to a reserved site.
Fixed NPCs always starts in their home location but quests can move them around as needed.
Random NPCs are instantiated to target location only as they don't otherwise exist in world.
Site must be reserved before moving NPC to that location.
Assembly: Assembly-CSharp.dll
Syntax
public class PlaceNpc : ActionTemplate, IDisposable, IQuestAction
Constructors
|
Improve this Doc
View Source
PlaceNpc(Quest)
Declaration
public PlaceNpc(Quest parentQuest)
Parameters
Type |
Name |
Description |
Quest |
parentQuest |
|
Properties
|
Improve this Doc
View Source
Pattern
Declaration
public override string Pattern { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
CreateNew(String, Quest)
Declaration
public override IQuestAction CreateNew(string source, Quest parentQuest)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetSaveData()
Declaration
public override object GetSaveData()
Returns
Overrides
|
Improve this Doc
View Source
RestoreSaveData(Object)
Declaration
public override void RestoreSaveData(object dataIn)
Parameters
Type |
Name |
Description |
Object |
dataIn |
|
Overrides
|
Improve this Doc
View Source
Update(Task)
Declaration
public override void Update(Task caller)
Parameters
Type |
Name |
Description |
Task |
caller |
|
Overrides
Implements