SpawnObject
From Eternity Wiki
Jump to navigationJump to search
Description
Generic actor spawn function.
Usage
A_SpawnObject(thingtype, angle, offsetx, offsety, offsetz, velx, vely, velz)
Parameters
- thingtype: name of thing to spawn
- angle: degrees relative to spawner's angle to give to the new thing
- offsetx, offsety, offsetz: offset relative to actor's facing: to the right, forward and upwards respectively.
- velx, vely, velz: optional velocity to apply, again relative to actor's facing
Examples
No examples given.
Notes
Important: unlike some other codepointers such as Spawn, this one does not transfer friendliness.