Thing Projectile2

From Eternity Wiki
Revision as of 03:04, 10 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Spawns and throws a projectile. |usage= ''void'' '''Thing_Projectile2'''(''int tid'', ''int type'', ''int angle'', ''int speed'', ''int vspeed'', ''int gravity'', ''int newtid'') |parameters= *''tid'': TID of map spots where to spawn projectiles *''type'': ACS spawn ID of projectiles to spawn *''angle'': direction *''speed'': fixed point horizontal speed, in eighths of unit *''vspeed'': fixed point vertical speed, in eighths of u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Spawns and throws a projectile.

Usage[edit]

void Thing_Projectile2(int tid, int type, int angle, int speed, int vspeed, int gravity, int newtid)

Parameters[edit]

  • tid: TID of map spots where to spawn projectiles
  • type: ACS spawn ID of projectiles to spawn
  • angle: direction
  • speed: fixed point horizontal speed, in eighths of unit
  • vspeed: fixed point vertical speed, in eighths of unit
  • gravity: if 1, projectile has low gravity, otherwise no gravity.
  • newtid: optional TID to provide to the projectiles.

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

No particular notes.

This function's identification in zspecial.acs is: ACC internal.

See also[edit]