Jump to content

Restricting Away characters


pasmon79

Recommended Posts

Yes.

 

There are several that do the same thing. ActionId="SendAway" and ActionId="SendAway_Survey", and there are two of each.

 

The character definitition it uses is:
<Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Behavior.NeverAway, !Trait.Immune.NonStoryContent, !Trait.Story.Command, !Trait.Status.Family" FunctionTags="Npc" HideWarnings="" Optional="" TargetEnclave="" />

 

Changing that to add two more traits can keep sick and injured at home:
Trait.MoodType.Sick and Trait.MoodType.Hurt, and since you don't ant them to have either trait to be selected for the away status, prefix with ! (not).

 

So change the character line to:
<Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.MoodType.Sick, !Trait.MoodType.Hurt, !Trait.Behavior.NeverAway, !Trait.Immune.NonStoryContent, !Trait.Story.Command, !Trait.Status.Family" FunctionTags="Npc" HideWarnings="" Optional="" TargetEnclave="" />

Link to comment
Share on other sites

  • 4 months later...

Those are used in story mode for specific purposes, and in general for tracking weakened characters.

 

Trait.Status.Injury is used to track Ed's status until the Doc comes to treat him, and Jacob's injury status during the missions until he is returned home. Because it is a subtrait, you will find it referenced in some places as !Trait.Mood.Hurt_Mauled

 

However, it is also used to used to track severe wounds that prevent any character from acting as labor, staff, mission targets, etc. by using <Subtrait Name="Trait.Status.Injury" /> in characters.xml and then referring to it as !Trait.Status.Injury in scenes, missions, facilities, fatecards, and rtsevents.

 

Trait.Status.Sick is also assigned as a subtrait in characters, and essentially functions in a similar manner in scenes, missions, facilities, fatecards, and rtsevents.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...