Third Person Cover Shooter  1.6
CoverShooter.AIRadio Class Reference

Allows the AI to use a radio to take calls. More...

Inheritance diagram for CoverShooter.AIRadio:
CoverShooter.AIItemBase CoverShooter.AIBase

Public Member Functions

void ToTakeRadio ()
 Told by the brains to take out a radio. More...
 
void ToHideRadio ()
 Told by the brains to hide radio if it is equipped. More...
 
void ToCall ()
 Told by the brains to initiate a call. More...
 
void ToRadioCall ()
 Told by the brains to initiate a radio call. More...
 
void OnCallMade ()
 Registers that a call has been made. More...
 
- 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...
 

Protected Member Functions

override void Awake ()
 
- Protected Member Functions inherited from CoverShooter.AIItemBase
bool EquipWeapon (CharacterMotor motor)
 Equips any weapon if possible. More...
 
bool Equip (CharacterMotor motor, WeaponType type)
 Equips a weapon of specific kind if possible. More...
 
bool Equip (CharacterMotor motor, ToolType tool)
 Equips a specific tool if possible. More...
 
bool UnequipWeapon (CharacterMotor motor)
 Unequips the item if it is currently used. More...
 
bool Unequip (CharacterMotor motor, WeaponType type)
 Unequips the item if it is currently used. More...
 
bool Unequip (CharacterMotor motor, ToolType tool)
 Unequips the item if it is currently used. More...
 

Additional Inherited Members

- Public Attributes inherited from CoverShooter.AIItemBase
InventoryUsage InventoryUsage = InventoryUsage.autoFind
 How should the character inventory (if there is one) be used. More...
 
int InventoryIndex = 0
 Weapon index inside the inventory to use when usage is set to 'index'. More...
 

Detailed Description

Allows the AI to use a radio to take calls.

Mostly used by AI Backup Call.

Member Function Documentation

◆ Awake()

override void CoverShooter.AIRadio.Awake ( )
protectedvirtual

Reimplemented from CoverShooter.AIItemBase.

◆ OnCallMade()

void CoverShooter.AIRadio.OnCallMade ( )

Registers that a call has been made.

◆ ToCall()

void CoverShooter.AIRadio.ToCall ( )

Told by the brains to initiate a call.

◆ ToHideRadio()

void CoverShooter.AIRadio.ToHideRadio ( )

Told by the brains to hide radio if it is equipped.

◆ ToRadioCall()

void CoverShooter.AIRadio.ToRadioCall ( )

Told by the brains to initiate a radio call.

◆ ToTakeRadio()

void CoverShooter.AIRadio.ToTakeRadio ( )

Told by the brains to take out a radio.


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