ai_relationship_classify
AI Relationship - Sets relationships between entire classify classes in the AI.
KeyValues
- Subject(s) (subject) <choices>
This is the NPC class whose disposition will change.
This is the NPC class whose disposition will change.
- Target(s) (target) <choices>
This is the NPC class about whom the Subject class will change their disposition.
This is the NPC class about whom the Subject class will change their disposition.
- Disposition (disposition) <choices>
Choose the way the subject class should feel about the target class
Choose the way the subject class should feel about the target class
- Radius for subject (radius) <float>
None
None
- Disposition Priority (rank) <integer>
How much the subject class should Like/Hate/Fear the target class. Higher priority = stronger feeling.
How much the subject class should Like/Hate/Fear the target class. Higher priority = stronger feeling.
- Start Active (StartActive) <choices>
None
None
- Reciprocal (Reciprocal) <choices>
Set this to YES to have the new relationship mirrored by the target class.
Set this to YES to have the new relationship mirrored by the target class.
Inputs
- ApplyRelationship
<void>
Apply relationship changes. This will change all Subject entities' relationships to all Target entities. IMPORTANT: Once you ApplyRelationships, this entity is then 'ALWAYS ON' until you send a Disable input or RevertRelationship input. During the time this entity is 'ON', any entities that spawn who match the Subject or Target names will be affected. IMPORTANT: Unpredictable results may occur when two ai_relationship entities refer to the same set or subset of target or subject entities. This situation should be avoided.
Apply relationship changes. This will change all Subject entities' relationships to all Target entities. IMPORTANT: Once you ApplyRelationships, this entity is then 'ALWAYS ON' until you send a Disable input or RevertRelationship input. During the time this entity is 'ON', any entities that spawn who match the Subject or Target names will be affected. IMPORTANT: Unpredictable results may occur when two ai_relationship entities refer to the same set or subset of target or subject entities. This situation should be avoided.
- RevertRelationship
<void>
Revert relationship changes. This will return the relationship to what it was at the time the ApplyRelationship input was called (or when this ai_relationship was spawned if StartActive is set).
Revert relationship changes. This will return the relationship to what it was at the time the ApplyRelationship input was called (or when this ai_relationship was spawned if StartActive is set).
- RevertToDefaultRelationship
<void>
Revert relationship changes to the default relationship, which may have changed since this ai_relationship was applied. This returns control of the entity relationship to the code.
Revert relationship changes to the default relationship, which may have changed since this ai_relationship was applied. This returns control of the entity relationship to the code.
