LuaDocs/Round
From Data Realms Wiki
Latest revision as of 08:57, 15 May 2014
Contents |
Parent: Entity
Concrete Class. A round containing a number of projectile particles and a one shell.
Properties
ClassName
The class name of this Entity.A string with the friendly-formatted type name of this object.
NextParticle
Read-only property. The next particle contained in this Round, ownership is NOT transferred!A pointer to the next particle, or 0 if this Round is empty.
Shell
Read-only property. The shell casing preset of this Round. Ownership IS NOT transferred!A pointer to the shell casing preset, or 0 if this Round has no shell.
FireVel
Read-only property. The velocity at which this round is to be fired.A float with the velocity in m/s.
ShellVel
Read-only property. The velocity at which this round's shell is to be ejected.A float with the shell velocity in m/s.
Separation
Read-only property. The separation of particles in this round.A float with the separation range in pixels.
ParticleCount
Read-only property. Returns how many particles are contained within this Round, not counting the shell.The number of particles.
AILifeTime
Read-only property. Returns the lifetime of the projectile used by the AI when executing the shooting scripts.The life time in MS used by the AI
IsEmpty
Read-only property. Returns whether this Round is out of particles or not.Whether this Round is out of particles or not.