Third Person Cover Shooter  1.6
CoverShooter.AIPhone Class Reference

Allows the AI to take phonecalls and film using a phone. More...

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

Public Member Functions

void ToStartFilming ()
 Told by the brains to start filming. More...
 
void ToStopFilming ()
 Told by the brains to stop filming. More...
 
void ToTakePhone ()
 Told by the brains to take a weapon to arms. More...
 
void ToHidePhone ()
 Told by the brains to disarm any weapon. More...
 
void ToCall ()
 Told by the brains to initiate a call. More...
 
void ToPhoneCall ()
 Told by the brains to initiate a phone call. More...
 
void OnCallMade ()
 Registers that the character has made a call. 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 take phonecalls and film using a phone.

Mostly used by Civilian Brain and AI Follow

Member Function Documentation

◆ Awake()

override void CoverShooter.AIPhone.Awake ( )
protectedvirtual

Reimplemented from CoverShooter.AIItemBase.

◆ OnCallMade()

void CoverShooter.AIPhone.OnCallMade ( )

Registers that the character has made a call.

◆ ToCall()

void CoverShooter.AIPhone.ToCall ( )

Told by the brains to initiate a call.

◆ ToHidePhone()

void CoverShooter.AIPhone.ToHidePhone ( )

Told by the brains to disarm any weapon.

◆ ToPhoneCall()

void CoverShooter.AIPhone.ToPhoneCall ( )

Told by the brains to initiate a phone call.

◆ ToStartFilming()

void CoverShooter.AIPhone.ToStartFilming ( )

Told by the brains to start filming.

◆ ToStopFilming()

void CoverShooter.AIPhone.ToStopFilming ( )

Told by the brains to stop filming.

◆ ToTakePhone()

void CoverShooter.AIPhone.ToTakePhone ( )

Told by the brains to take a weapon to arms.


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