Fire Class

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Represents a fire.
Inheritance Hierarchy

SystemObject
  RageFire

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public class Fire : ISpatial, IDeletable

The Fire type exposes the following members.

Properties

  NameDescription
Public propertyDesiredBurnDuration
Gets or sets the desired burn duration.
Public propertyElapsedBurnDuration
Gets or sets how long this fire has been burning for.
Public propertyOffset

Gets or sets the position of this instance.

If ParentEntity is null, this property has the same value as Position; the position is in world space; otherwise it is relative to the parent entity.

Public propertyOwningEntity

Gets or sets the entity this fire belongs to.

Damage inflicted by fires is attributed to the owner.

Public propertyParentEntity
Gets the entity this fire is attached to.
Public propertyPosition
Gets or sets the position of this instance.
Public propertySpreadRadius
Gets or sets how far the fire spreads.
Top
Methods

  NameDescription
Public methodDelete

Deletes this instance.

Any call to a non-existent instance is invalid and will cause an exception.

Public methodDistanceTo(ISpatial)
Gets the distance from this instance to the specified ISpatial instance.
Public methodDistanceTo(Vector3)
Gets the distance from this instance to the specified position.
Public methodDistanceTo2D(ISpatial)
Gets the distance from this instance to the specified ISpatial instance.
Public methodDistanceTo2D(Vector3)
Gets the distance from this instance to the specified position.
Public methodIsValid
Determines whether this instance still represents an existing fire within the game world. Calls to an invalid instance is illegal and will result in an exception.
Public methodTravelDistanceTo(ISpatial)
Gets the distance from this instance to the specified ISpatial instance, if using the road system.
Public methodTravelDistanceTo(Vector3)
Gets the distance from this instance to the specified position, if using the road system.
Top
Operators

  NameDescription
Public operatorStatic member(Fire to Boolean)
Top
See Also

Reference