ICECreatureControl  1.3.2
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
ICE.Creatures.ICECreatureRangedWeapon Class Reference

ICE creature ranged weapon. More...

Inheritance diagram for ICE.Creatures.ICECreatureRangedWeapon:
Inheritance graph
Collaboration diagram for ICE.Creatures.ICECreatureRangedWeapon:
Collaboration graph

Public Member Functions

override void Start ()
 
override void OnEnable ()
 
override void Update ()
 
virtual Transform GetTargetTransform ()
 
virtual void RangedWeaponFire ()
 RangedWeapon will fire a serial of shots according to the given interval settings More...
 
virtual void RangedWeaponStop ()
 RangedWeapon will stop fireing More...
 
virtual void RangedWeaponFireOneShot ()
 RangedWeapon will fire one shot. More...
 
virtual void RangedWeaponLaserOn ()
 Switched the lase of the RangedWeapon on. More...
 
virtual void RangedRangedWeaponLaserOff ()
 Switched the lase of the RangedWeapon off. More...
 
virtual void RangedWeaponLaserToggle ()
 Rangeds the weapon laser toggle. More...
 
virtual void RangedWeaponFlashlightOn ()
 Switched the flashlight of the RangedWeapon on. More...
 
virtual void RangedWeaponFlashlightOff ()
 Switched the flashlight of the RangedWeapon off. More...
 
virtual void RangedWeaponFlashlightToggle ()
 Toggles the flashlight of the RangedWeapon on/off. More...
 
virtual void RangedWeaponApplyDamage (float _damage)
 Applies damage to the RangedWeapon. More...
 
- Public Member Functions inherited from ICE.Creatures.ICECreatureWeapon
override void Start ()
 
override void Update ()
 
override void OnTriggerEnter (Collider _other)
 
override void OnCollisionEnter (Collision _collision)
 
- Public Member Functions inherited from ICE.Creatures.ICECreatureItem
override void Start ()
 
override void Update ()
 
override void OnCollisionEnter (Collision collision)
 
- Public Member Functions inherited from ICE.Creatures.ICECreatureEntity
void AddTarget (ICECreatureEntity _entity)
 
void RemoveTarget (ICECreatureEntity _entity)
 
bool TargetExists (ICECreatureEntity _entity)
 
bool CompareTarget (ICECreatureEntity _entity_1, ICECreatureEntity _entity_2)
 
override void Awake ()
 Awake this instance and runs the registration process. If you override this method please make sure to call base.Register or register the target by your own code. More...
 
override void OnEnable ()
 
override void OnDisable ()
 
override void OnDestroy ()
 Raises the destroy event and runs the deregistration process. If you override this method please make sure to call base.Deregister or deregister the target by your own code. More...
 
override void Update ()
 
override void LateUpdate ()
 
bool IsInZone (string _name)
 
void EnterZone (string _name)
 
void ExitZone (string _name)
 
override void OnTriggerEnter (Collider _collider)
 
override void OnTriggerStay (Collider _collider)
 
override void OnTriggerExit (Collider _collider)
 

Public Attributes

bool FireOnEnabled = false
 
- Public Attributes inherited from ICE.Creatures.ICECreatureEntity
float BaseOffset = 0
 The base offset can be used to adapt the correct ground level of the object. More...
 
float BaseOffsetMaximum = 1
 

Protected Member Functions

override void OnRegisterBehaviourEvents ()
 OnRegisterBehaviourEvents is called whithin the GetBehaviourEvents() method to update the m_BehaviourEvents list. Override this event to register your own events by using the RegisterBehaviourEvent method, while doing so you can use base.OnRegisterBehaviourEvents(); to call the event in the base classes too. More...
 
- Protected Member Functions inherited from ICE.Creatures.ICECreatureWeapon
override void OnRegisterBehaviourEvents ()
 OnRegisterBehaviourEvents is called whithin the GetBehaviourEvents() method to update the m_BehaviourEvents list. Override this event to register your own events by using the RegisterBehaviourEvent method, while doing so you can use base.OnRegisterBehaviourEvents(); to call the event in the base classes too. More...
 
- Protected Member Functions inherited from ICE.Creatures.ICECreatureItem
override void OnRegisterBehaviourEvents ()
 Register public methods. Override this method to register your own methods by using the RegisterPublicMethod(); More...
 
- Protected Member Functions inherited from ICE.Creatures.ICECreatureObject
override void OnRegisterBehaviourEvents ()
 
- Protected Member Functions inherited from ICE.Creatures.ICECreatureEntity
override void OnRegisterBehaviourEvents ()
 
override void Register ()
 
override void Deregister ()
 
override void Remove ()
 Removes this instance according to the defined reference group settings of the CreatureRegister. In cases UseSoftRespawn is active the target will be dactivate, stored and prepared for its next action, otherwise the object will be destroyed. More...
 

Properties

override EntityClassType EntityType [get]
 Gets the entity classification type of the object More...
 
RangedWeaponObject Weapon [get]
 
LaserObject Laser [get, set]
 
FlashlightObject Flashlight [get, set]
 
bool IsShooting [get]
 
ICECreatureControl CreatureControl [get]
 
ICECreaturePlayer Player [get]
 
- Properties inherited from ICE.Creatures.ICECreatureWeapon
override EntityClassType EntityType [get]
 Gets the entity classification type of the object More...
 
WeaponImpactObject Impact [get, set]
 
- Properties inherited from ICE.Creatures.ICECreatureItem
override EntityClassType EntityType [get]
 Gets the entity classification type of the object More...
 
OdourObject Odour [get, set]
 
InventoryObject Inventory [get, set]
 
- Properties inherited from ICE.Creatures.ICECreatureObject
override EntityClassType EntityType [get]
 Gets the entity classification type of the object More...
 
- Properties inherited from ICE.Creatures.ICECreatureEntity
virtual EntityClassType EntityType [get]
 Gets the entity classification type of the object More...
 
ReferenceGroupObject ReferenceGroup [get]
 
List< ICECreatureEntityTargetEntities [get]
 
MessageObject Message [get, set]
 
Vector3 LastPosition [get]
 
Quaternion LastRotation [get]
 
Vector3 Velocity [get]
 
Vector3 FrameVelocity [get]
 

Additional Inherited Members

- Protected Attributes inherited from ICE.Creatures.ICECreatureEntity
ReferenceGroupObject m_ReferenceGroup = null
 Contains the ReferenceGroup in which the target will be listed after the registration process. ReferenceGroup will be null if the target is not registered. More...
 

Detailed Description

ICE creature ranged weapon.

Member Function Documentation

virtual Transform ICE.Creatures.ICECreatureRangedWeapon.GetTargetTransform ( )
virtual
override void ICE.Creatures.ICECreatureRangedWeapon.OnEnable ( )
override void ICE.Creatures.ICECreatureRangedWeapon.OnRegisterBehaviourEvents ( )
protected

OnRegisterBehaviourEvents is called whithin the GetBehaviourEvents() method to update the m_BehaviourEvents list. Override this event to register your own events by using the RegisterBehaviourEvent method, while doing so you can use base.OnRegisterBehaviourEvents(); to call the event in the base classes too.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedRangedWeaponLaserOff ( )
virtual

Switched the lase of the RangedWeapon off.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponApplyDamage ( float  _damage)
virtual

Applies damage to the RangedWeapon.

Parameters
_damageDamage.
virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponFire ( )
virtual

RangedWeapon will fire a serial of shots according to the given interval settings

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponFireOneShot ( )
virtual

RangedWeapon will fire one shot.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponFlashlightOff ( )
virtual

Switched the flashlight of the RangedWeapon off.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponFlashlightOn ( )
virtual

Switched the flashlight of the RangedWeapon on.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponFlashlightToggle ( )
virtual

Toggles the flashlight of the RangedWeapon on/off.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponLaserOn ( )
virtual

Switched the lase of the RangedWeapon on.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponLaserToggle ( )
virtual

Rangeds the weapon laser toggle.

virtual void ICE.Creatures.ICECreatureRangedWeapon.RangedWeaponStop ( )
virtual

RangedWeapon will stop fireing

override void ICE.Creatures.ICECreatureRangedWeapon.Start ( )
override void ICE.Creatures.ICECreatureRangedWeapon.Update ( )

Member Data Documentation

bool ICE.Creatures.ICECreatureRangedWeapon.FireOnEnabled = false

Property Documentation

ICECreatureControl ICE.Creatures.ICECreatureRangedWeapon.CreatureControl
get
override EntityClassType ICE.Creatures.ICECreatureRangedWeapon.EntityType
get

Gets the entity classification type of the object

The classification type of the entity.

The EntityClassType will be used to quickly identify the correct class type of a derived entity object without casts

FlashlightObject ICE.Creatures.ICECreatureRangedWeapon.Flashlight
getset
bool ICE.Creatures.ICECreatureRangedWeapon.IsShooting
get
LaserObject ICE.Creatures.ICECreatureRangedWeapon.Laser
getset
ICECreaturePlayer ICE.Creatures.ICECreatureRangedWeapon.Player
get
RangedWeaponObject ICE.Creatures.ICECreatureRangedWeapon.Weapon
get

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