Ai relationship: Difference between revisions
Jump to navigation
Jump to search
m (Technical limitations) |
No edit summary |
||
Line 5: | Line 5: | ||
AI Relationship - Sets relationships between groups of NPCs in the AI. | AI Relationship - Sets relationships between groups of NPCs in the AI. | ||
== | ==Keyvalues== | ||
* [[Targetname]] | |||
''' | * '''subject''' | ||
:<target_name_or_class> This is the NPC(s) whose disposition will change. May be a targetname or a classname. | |||
''' | * '''target''' | ||
:<target_name_or_class> This is the NPC(s) about whom the Subject(s) will change their disposition. May be a tarGetname or a classname. | |||
''' | * '''disposition''' | ||
:<choices> Choose the way the Subject(s) should feel about the Target(s) | |||
:* Hate | |||
:* Fear | |||
:* Like | |||
:* Neutral | |||
''' | * '''radius''' | ||
:<float> Radius for subject | |||
''' | * '''rank''' | ||
:<integer> How much the Subject(s) should Like/Hate/Fear the Target(s). Higher priority = stronger feeling. | |||
''' | * '''StartActive''' | ||
:<boolean> | |||
'''Reciprocal''' | * '''Reciprocal''' | ||
:<boolean> Set this to have the new relationship mirrored by Target | |||
==Inputs== | ==Inputs== | ||
* [[Targetname]] | |||
''' | * '''ApplyRelationship''' | ||
:Apply relationship changes | |||
''' | * '''RevertRelationship''' | ||
:Revert relationship changes | |||
==Outputs== | ==Outputs== | ||
* [[Targetname]] | |||
[[category:AI]] | [[category:AI]] | ||
[[category:Entities]] | [[category:Entities]] |
Revision as of 16:55, 9 July 2005
ai_relationship
AI Relationship - Sets relationships between groups of NPCs in the AI.
Keyvalues
- subject
- <target_name_or_class> This is the NPC(s) whose disposition will change. May be a targetname or a classname.
- target
- <target_name_or_class> This is the NPC(s) about whom the Subject(s) will change their disposition. May be a tarGetname or a classname.
- disposition
- <choices> Choose the way the Subject(s) should feel about the Target(s)
- Hate
- Fear
- Like
- Neutral
- radius
- <float> Radius for subject
- rank
- <integer> How much the Subject(s) should Like/Hate/Fear the Target(s). Higher priority = stronger feeling.
- StartActive
- <boolean>
- Reciprocal
- <boolean> Set this to have the new relationship mirrored by Target
Inputs
- ApplyRelationship
- Apply relationship changes
- RevertRelationship
- Revert relationship changes