GetProjectileState (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Returns the current state of a projectile.

Note: Doom 3 only:
These values can be found in doom_defs.script. It returns one of the following:
- PROJECTILE_SPAWNED
- PROJECTILE_CREATED
- PROJECTILE_LAUNCHED
- PROJECTILE_FIZZLED
- PROJECTILE_EXPLODED

Usage

float getProjectileState( );

Parameters

None.

Examples

projectile.getProjectileState() == PROJECTILE_LAUNCHED

Notes

None.