Energy Based Objects  2.01
Public Member Functions | Public Attributes | Properties
ObjectWeaponHeat Class Reference

Stops an ObjectShootingPoint from shooting if the weapon becomes hot. Connects to all child ObjectShootingPoints. More...

List of all members.

Public Member Functions

bool CanShoot ()
void HeatUp ()
void HeatUp (float amount)

Public Attributes

float maxHeat
float enabledShootingHeat = 1
 Heat must be under this amount to shoot.
float heatup = 1
 The amount this will heat up.
float cooldown = 1
 The amount this will cool down.
float cooldownDelay = 1
 The delay before cooling down.
float cooldownTime
 The current cooldown time.
bool hot
 Indicates that the weapon is hot.

Properties

float heat [get, set]

Detailed Description

Stops an ObjectShootingPoint from shooting if the weapon becomes hot. Connects to all child ObjectShootingPoints.


Member Data Documentation

float cooldown = 1

The amount this will cool down.

float cooldownDelay = 1

The delay before cooling down.

float cooldownTime

The current cooldown time.

Heat must be under this amount to shoot.

float heatup = 1

The amount this will heat up.

bool hot

Indicates that the weapon is hot.

 All Classes Namespaces Functions Variables Properties Events