SteamSpawn

From Eternity Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Spawns and thrusts objects within randomized horizontal and vertical angular sweeps. Angular ranges should be values between 0 and 359.

Usage

SteamSpawn (string type, int range_horiz, int angle_vert, int range_vert, int speed)

Parameters

  • type: Name of the thingtype to spawn.
  • range_horiz: Horizontal angular range, centered on thing's angle.
  • angle_vert: Vertical angle.
  • range_vert: Vertical angular range, centered on angle_vert.
  • speed: Speed at which to thrust the spawned objects.

Examples

No examples given.

Notes

  • If you plan to use this for projectile trails, you will need a negative speed if you want the trails to fly behind the projectile
  • Too small angle values may be cancelled due to a lower resolution than 360 degrees.

See also