C# Class ACR_CreatureBehavior.AIParty

This class describe a party of AI controlled characters that work together. An AI controlled character can be a member of zero or one parties.
Afficher le fichier Open project: ALandFarAway/ALFA-Base-Resources Class Usage Examples

Méthodes publiques

Свойство Type Description
CleanUpEnemies List
Enemies List
EnemiesLost List
EnemyHardTargets List
EnemyHealers List
EnemySoftTargets List
EnemySpellcasters List
PartyAnimals List
PartyArchers List
PartyBuffs List
PartyControls List
PartyCowards List
PartyFlanks List
PartyLeader CreatureObject
PartyLosses int
PartyManager ACR_CreatureBehavior.AIPartyManager
PartyMedics List
PartyMembers List
PartyMindless List
PartyNukes List
PartyShocks List
PartySkrimishers List
PartyTanks List

Méthodes publiques

Méthode Description
AIParty ( ACR_CreatureBehavior.AIPartyManager PartyManager ) : System

Create a new, empty AI party.

AddPartyEnemy ( CreatureObject PartyEnemy ) : void
AddPartyMember ( CreatureObject Creature ) : void

Add a party member.

CanPartyHear ( CreatureObject Creature ) : bool
CanPartySee ( CreatureObject Creature ) : bool

This function assesses whether or not a creature is visible to any member of the party.

GetFarthest ( CreatureObject Source, List Creatures ) : CreatureObject
GetNearest ( CreatureObject Source, List Creatures ) : CreatureObject
PromotePartyLeader ( CreatureObject PartyLeader ) : void

Promote a creature in the party to party leader.

RemovePartyEnemy ( CreatureObject PartyEnemy ) : void
RemovePartyMember ( CreatureObject Creature ) : void

Remove a party member. If the party member was the last in the party, then the party is dissolved.

Private Methods

Méthode Description
_LooksLikeSpellcaster ( CreatureObject Creature ) : bool

This function seeks signs of a spellcaster, looking for visible paraphenalia. Visibility is assumed, and should be checked separately.

Method Details

AIParty() public méthode

Create a new, empty AI party.
public AIParty ( ACR_CreatureBehavior.AIPartyManager PartyManager ) : System
PartyManager ACR_CreatureBehavior.AIPartyManager Supplies the party manager that the /// party will be attached to.
Résultat System

AddPartyEnemy() public méthode

public AddPartyEnemy ( CreatureObject PartyEnemy ) : void
PartyEnemy CreatureObject
Résultat void

AddPartyMember() public méthode

Add a party member.
public AddPartyMember ( CreatureObject Creature ) : void
Creature CreatureObject Supplies the creature to add.
Résultat void

CanPartyHear() public méthode

public CanPartyHear ( CreatureObject Creature ) : bool
Creature CreatureObject
Résultat bool

CanPartySee() public méthode

This function assesses whether or not a creature is visible to any member of the party.
public CanPartySee ( CreatureObject Creature ) : bool
Creature CreatureObject The creature that the party is looking for
Résultat bool

GetFarthest() public méthode

public GetFarthest ( CreatureObject Source, List Creatures ) : CreatureObject
Source CreatureObject
Creatures List
Résultat CreatureObject

GetNearest() public méthode

public GetNearest ( CreatureObject Source, List Creatures ) : CreatureObject
Source CreatureObject
Creatures List
Résultat CreatureObject

PromotePartyLeader() public méthode

Promote a creature in the party to party leader.
public PromotePartyLeader ( CreatureObject PartyLeader ) : void
PartyLeader CreatureObject Supplies the new party leader.
Résultat void

RemovePartyEnemy() public méthode

public RemovePartyEnemy ( CreatureObject PartyEnemy ) : void
PartyEnemy CreatureObject
Résultat void

RemovePartyMember() public méthode

Remove a party member. If the party member was the last in the party, then the party is dissolved.
public RemovePartyMember ( CreatureObject Creature ) : void
Creature CreatureObject Supplies the creature to remove.
Résultat void

Property Details

CleanUpEnemies public_oe property

The list of enemies who are near death, and should be ignored until it's time to clean up.
public List CleanUpEnemies
Résultat List

Enemies public_oe property

The list of known enemies of the party
public List Enemies
Résultat List

EnemiesLost public_oe property

The list of enemies who we know exist, but can't see.
public List EnemiesLost
Résultat List

EnemyHardTargets public_oe property

The list of enemies who appear to be difficult to hit.
public List EnemyHardTargets
Résultat List

EnemyHealers public_oe property

The list of enemies who have been observed casting healing magic.
public List EnemyHealers
Résultat List

EnemySoftTargets public_oe property

Ths list of enemies who appear to be easy to hit.
public List EnemySoftTargets
Résultat List

EnemySpellcasters public_oe property

The list of enemies who have been observed casting spells.
public List EnemySpellcasters
Résultat List

PartyAnimals public_oe property

The list of party members who aren't smart enough to behave tactically, but are smart enough to have some sense of self preservation.
public List PartyAnimals
Résultat List

PartyArchers public_oe property

The list of party members who prefer ranged combat.
public List PartyArchers
Résultat List

PartyBuffs public_oe property

The list of party members focused primarily on support magic.
public List PartyBuffs
Résultat List

PartyControls public_oe property

The list of party members focused primarily on crowd control and battlefield manipulation.
public List PartyControls
Résultat List

PartyCowards public_oe property

The list of party members who don't want to fight, and will run for help.
public List PartyCowards
Résultat List

PartyFlanks public_oe property

The list of party members who flank in melee combat to inflict damage.
public List PartyFlanks
Résultat List

PartyLeader public_oe property

The designated party leader (if one is still alive).
public CreatureObject,ACR_CreatureBehavior PartyLeader
Résultat CreatureObject

PartyLosses public_oe property

An arbitrary measure of how badly the party is being beaten.
public int PartyLosses
Résultat int

PartyManager public_oe property

The associated party manager.
public AIPartyManager,ACR_CreatureBehavior PartyManager
Résultat ACR_CreatureBehavior.AIPartyManager

PartyMedics public_oe property

The list of party members focused primarily on healing magic.
public List PartyMedics
Résultat List

PartyMembers public_oe property

The list of objects in the party.
public List PartyMembers
Résultat List

PartyMindless public_oe property

The list of party members who are incapable of thought, and will thrash out mindlessly.
public List PartyMindless
Résultat List

PartyNukes public_oe property

The list of party members focused primarily on attack magic.
public List PartyNukes
Résultat List

PartyShocks public_oe property

The list of party members focused primarily on
public List PartyShocks
Résultat List

PartySkrimishers public_oe property

The list of party members who specialise in short highly-mobile melee strikes.
public List PartySkrimishers
Résultat List

PartyTanks public_oe property

The list of party members focused primarily on tactical defense and holding ground.
public List PartyTanks
Résultat List