Third Person Cover Shooter  1.6
CoverShooter.AICommunication Class Reference

Finds nearby friends and makes connections to them. More...

Inheritance diagram for CoverShooter.AICommunication:
CoverShooter.AIBase

Public Attributes

float Distance = 12
 Distance in any direction for AI to communicate between each other. More...
 
float UpdateDelay = 0.2f
 Time in seconds between each contact update. More...
 
bool DebugFriends = false
 Should lines between friends be drawn in the editor. More...
 

Properties

IEnumerable< ActorFriends [get]
 All friends in contact. More...
 
int FriendCount [get]
 Number of nearby friends. More...
 

Additional Inherited Members

- Public Member Functions inherited from CoverShooter.AIBase
void Message (string name)
 Sends a message to other components. More...
 
void Message (string name, object value)
 Sends a message to other components. More...
 

Detailed Description

Finds nearby friends and makes connections to them.

Other components then pass information about the threat to these nearby friends.

Member Data Documentation

◆ DebugFriends

bool CoverShooter.AICommunication.DebugFriends = false

Should lines between friends be drawn in the editor.

◆ Distance

float CoverShooter.AICommunication.Distance = 12

Distance in any direction for AI to communicate between each other.

◆ UpdateDelay

float CoverShooter.AICommunication.UpdateDelay = 0.2f

Time in seconds between each contact update.

Property Documentation

◆ FriendCount

int CoverShooter.AICommunication.FriendCount
get

Number of nearby friends.

◆ Friends

IEnumerable<Actor> CoverShooter.AICommunication.Friends
get

All friends in contact.


The documentation for this class was generated from the following file: