FirePlayerMissile

From Eternity Wiki
Revision as of 01:34, 6 May 2011 by Printz (talk | contribs) (Templatized. Updated with keywords.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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