PROJ SPAWNS: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Added category and fixed grammar.
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
PROJ_SPAWNS is a [[defineprojectile]] property used to [[spawn]] an [[actor]] on impact.
'''PROJ_SPAWNS''' is a [[defineprojectile]] property used to [[spawn]] an [[actor]] on impact.


Syntax is:
Syntax is:


[[defineprojectile]] <tile number> PROJ_SPAWNS <actor>
[[defineprojectile]] <tile number> PROJ_SPAWNS <actor>


Set <actor> to -1 to [[spawn]] nothing, otherwise <actor> defaults to SMALLSMOKE.
Set <actor> to -1 to [[spawn]] nothing, otherwise <actor> defaults to SMALLSMOKE.

Revision as of 06:04, 21 February 2020

PROJ_SPAWNS is a defineprojectile property used to spawn an actor on impact.

Syntax is:

defineprojectile <tile number> PROJ_SPAWNS <actor>

Set <actor> to -1 to spawn nothing, otherwise <actor> defaults to SMALLSMOKE.

Doesn't work with bullet-type projectiles fired by actors other than the player.