Class "EntityProjectile"⚓︎
Inherits from Class:⚓︎
Functions⚓︎
Add·Change·Flags ()⚓︎
void AddChangeFlags ( int Flags )⚓︎
See ChangeFlags.
Add·Falling·Accel ()⚓︎
void AddFallingAccel ( float Value )⚓︎
Add·Falling·Speed ()⚓︎
void AddFallingSpeed ( float Value )⚓︎
Add·Height ()⚓︎
void AddHeight ( float Value )⚓︎
Add·Projectile·Flags ()⚓︎
void AddProjectileFlags ( int Flags )⚓︎
Uses ProjectileFlags to define the projectile attributes.
Add·Scale ()⚓︎
void AddScale ( float Value )⚓︎
Variables⚓︎
Acceleration⚓︎
float Acceleration⚓︎
Change·Flags⚓︎
int ChangeFlags⚓︎
Uses ProjectileFlags to define the projectile attributes after the "Changed" state was activated. The ProjectileFlag.CHANGE_FLAGS_AFTER_TIMEOUT needs to be set to allow for this change to apply!
Informations about "Changed" State:
Projectiles can have two states: normal (default) and changed.
Changed state activates when projectile's frame count reaches the value set in ChangeTimeout. After that its flags get changed to what was set in ChangeFlags and velocity will be resized to length set in ChangeVelocity.
Also used in: ProjectileParams()
Change·Timeout⚓︎
int ChangeTimeout⚓︎
Number of frames that need to elapse after spawn till the "Changed" state is activated. The ProjectileFlags.CHANGE_FLAGS_AFTER_TIMEOUT or CHANGE_VELOCITY_AFTER_TIMEOUT need to be set to allow for this change to apply!
Informations about "Changed" State:
Projectiles can have two states: normal (default) and changed.
Changed state activates when projectile's frame count reaches the value set in ChangeTimeout. After that its flags get changed to what was set in ChangeFlags and velocity will be resized to length set in ChangeVelocity.
Also used in: ProjectileParams()
Change·Velocity⚓︎
float ChangeVelocity⚓︎
Velocity value that gets applied when the "Changed" state is activated. The ProjectileFlag.CHANGE_VELOCITY_AFTER_TIMEOUT need to be set to allow for this change to apply!
Informations about "Changed" State:
Projectiles can have two states: normal (default) and changed.
Changed state activates when projectile's frame count reaches the value set in ChangeTimeout. After that its flags get changed to what was set in ChangeFlags and velocity will be resized to length set in ChangeVelocity.
Also used in: ProjectileParams()
Curving·Strength⚓︎
float CurvingStrength⚓︎
Damage⚓︎
float Damage⚓︎
Depth·Offset⚓︎
float DepthOffset⚓︎
Falling·Accel⚓︎
float FallingAccel⚓︎
Falling·Speed⚓︎
float FallingSpeed⚓︎
Height⚓︎
float Height⚓︎
Defines the height of a projectile. Height should be a negative value. Default is -23
.
Homing·Strength⚓︎
float HomingStrength⚓︎
Projectile·Flags⚓︎
ProjectileFlags ProjectileFlags⚓︎
Uses ProjectileFlags to define the projectile attributes.