SteamSpawn: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 7: Line 7:
*range_vert: Vertical angular range, centered on angle_vert.
*range_vert: Vertical angular range, centered on angle_vert.
*speed: Speed at which to thrust the spawned objects.
*speed: Speed at which to thrust the spawned objects.
|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.
}}
}}

Latest revision as of 15:57, 13 February 2021

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