Thing Projectile2

From Eternity Wiki
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]