Table of Contents

Class Bot_MimicInfiltrator

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class Bot_MimicInfiltrator : MonoBehaviour
Inheritance
Bot_MimicInfiltrator
Inherited Members
Extension Methods

Constructors

Bot_MimicInfiltrator()

public Bot_MimicInfiltrator()

Fields

angryFaceColor

public Color angryFaceColor

Field Value

Color

angryFaceRotation

public float angryFaceRotation

Field Value

float

angryFaceText

public string angryFaceText

Field Value

string

angryMeter

public float angryMeter

Field Value

float

angryThreshold

public float angryThreshold

Field Value

float

awkwardLookAway

public bool awkwardLookAway

Field Value

bool

awkwardLookDir

public Vector3 awkwardLookDir

Field Value

Vector3

awkwardTime

public float awkwardTime

Field Value

float

bot

public Bot bot

Field Value

Bot

customRotationSpeed

public float customRotationSpeed

Field Value

float

damageOnHit

public float damageOnHit

Field Value

float

debug

public bool debug

Field Value

bool

distanceForHitToBeConsideredAlone

public float distanceForHitToBeConsideredAlone

Field Value

float

distanceToBeConsideredAlone

public float distanceToBeConsideredAlone

Field Value

float

faceSizeMinMax

public readonly Vector3 faceSizeMinMax

Field Value

Vector3

fakeFlashLight_grc

public FakeFlashLight fakeFlashLight_grc

Field Value

FakeFlashLight

fallOnHit

[SerializeField]
public float fallOnHit

Field Value

float

flickerChance

public float flickerChance

Field Value

float

followPlayer

public bool followPlayer

Field Value

bool

forceOnHit

[SerializeField]
public float forceOnHit

Field Value

float

goToRandomPoint

public bool goToRandomPoint

Field Value

bool

hitDistance

public float hitDistance

Field Value

float

hitTarget

public Player hitTarget

Field Value

Player

ignorePlayers

public List<Player> ignorePlayers

Field Value

List<Player>

isAngry

public bool isAngry

Field Value

bool

jabForce

public float jabForce

Field Value

float

lookAwayChance

public float lookAwayChance

Field Value

float

maxTimeAwkward

public float maxTimeAwkward

Field Value

float

maxTimeBetweenJumps

public float maxTimeBetweenJumps

Field Value

float

mimickingPlayer

public Player mimickingPlayer

Field Value

Player

minTimeBeforeWalkSprintSwitch

public float minTimeBeforeWalkSprintSwitch

Field Value

float

minTimeBetweenJumps

public float minTimeBetweenJumps

Field Value

float

moveAwayPos

public Vector3 moveAwayPos

Field Value

Vector3

nothingChance

public float nothingChance

Field Value

float

player

[HideInInspector]
public Player player

Field Value

Player

randomPoint

public PatrolPoint randomPoint

Field Value

PatrolPoint

runAwayChance

[FormerlySerializedAs("runAwayChange")]
public float runAwayChance

Field Value

float

runToPlayer

public bool runToPlayer

Field Value

bool

runUntilThisCloseFromTarget

public float runUntilThisCloseFromTarget

Field Value

float

stopWhenThisCloseToTarget

public float stopWhenThisCloseToTarget

Field Value

float

timeAlive

public float timeAlive

Field Value

float

timeBetweenJabs

public float timeBetweenJabs

Field Value

float

timeSinceJab

public float timeSinceJab

Field Value

float

timeSinceWalkSprintSwitch

public float timeSinceWalkSprintSwitch

Field Value

float

timeSpentLookingAtMe

public float timeSpentLookingAtMe

Field Value

float

timeSpentNotLookingAtMe

public float timeSpentNotLookingAtMe

Field Value

float

timeThatFistIsDangerous

public float timeThatFistIsDangerous

Field Value

float

timeToJab

public float timeToJab

Field Value

float

timeToNextJump

public float timeToNextJump

Field Value

float

view

public PhotonView view

Field Value

PhotonView

Properties

DistToTarget

public float DistToTarget { get; }

Property Value

float

DistanceToHitTarget

public float DistanceToHitTarget { get; }

Property Value

float

DistanceToMimickingPlayer

public float DistanceToMimickingPlayer { get; }

Property Value

float

IsInfiltrating

public bool IsInfiltrating { get; set; }

Property Value

bool

Sprint

public bool Sprint { get; set; }

Property Value

bool

Methods

AnyoneLookingAtMe()

public bool AnyoneLookingAtMe()

Returns

bool

Awake()

public void Awake()

Despawn()

public void Despawn()

FindMimicTarget()

public void FindMimicTarget()

FixedUpdate()

public void FixedUpdate()

FlickerRed()

public IEnumerator FlickerRed()

Returns

IEnumerator

IamLookingAtTarget()

public bool IamLookingAtTarget()

Returns

bool

Infiltrate(Player, Player, Vector3)

public void Infiltrate(Player micingPlayer, Player hitTarget, Vector3 spawnPosition)

Parameters

micingPlayer Player
hitTarget Player
spawnPosition Vector3

IsTargetLookingAtMe()

public bool IsTargetLookingAtMe()

Returns

bool

Jump()

public void Jump()

MakeAngry()

[PunRPC]
public void MakeAngry()

MakeItLessAwkward()

public void MakeItLessAwkward()

MimickPlayer(Player, Player)

public void MimickPlayer(Player playerToMimick, Player hitTarget)

Parameters

playerToMimick Player
hitTarget Player

RPCA_MimicJump()

[PunRPC]
public void RPCA_MimicJump()

RPC_AngryVisuals()

[PunRPC]
public void RPC_AngryVisuals()

RPC_ImitateVisuals()

[PunRPC]
public void RPC_ImitateVisuals()

RPC_MimicPlayer(int, int)

[PunRPC]
public void RPC_MimicPlayer(int mimicID, int hitTargetID)

Parameters

mimicID int
hitTargetID int

SearchForTarget()

public void SearchForTarget()

Update()

public void Update()