FirePlayerMissile: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
Esselfortium (talk | contribs) (New page: '''FirePlayerMissile''' (string ''type'' [, bool ''homing''])<br> ==Usage== FirePlayerMissile is a parameterized player weapon codepointer. This codepointer allows a custom player projec...) |
(Templatized. Updated with keywords.) |
||
Line 1: | Line 1: | ||
'''FirePlayerMissile''' | {{Codepointer | | ||
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| | ||
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]]. | |||
*type: Thing type to shoot. | | | ||
*homing: Select homing property: | examples=| | ||
**0: will not home | seealso=*[[FireCustomBullets]] | ||
**1: may home | *[[List_of_codepointers#Attacks|Player attack codepointers]] | ||
}} | |||
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]]. | |||
[[Category:Codepointers]] | [[Category:Codepointers]] |
Latest revision as of 01:34, 6 May 2011
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.