FirePlayerMissile

From Eternity Wiki
Jump to: navigation, search

Description

FirePlayerMissile is a parameterized player weapon codepointer. This codepointer allows a custom player projectile attack.

Usage

FirePlayerMissile (type, homing)

Parameters

  • type: Thing type mnemonic of projectile to shoot.
  • homing: Select homing property:
    • 0 or normal: will not home
    • 1 or homing: may home

Examples

Notes

If homing is set to 1 and the missile fired has a homing maintenance codepointer in its frames, the missile will home on the player's current autoaiming target, if one exists. These homing maintenance pointers include Tracer, GenTracer, HticTracer, and WhirlwindSeek.

See also