PROJ WORKSLIKE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
Redirected page to Defineprojectile
Tag: New redirect
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
PROJ_WORKSLIKE is a [[defineprojectile]] property used to set flags for projectile function. The flags (defined) are:
#REDIRECT [[defineprojectile]]
 
define [[WORKSLIKEBULLET]] 1
 
define [[WORKSLIKERPG]] 2
 
define [[WORKSLIKEBOUNCESOFFWALLS]] 4
 
define [[WORKSLIKEBOUNCESOFFMIRRORS]] 8
 
define [[WORKSLIKEKNEE]] 16
 
define [[WORKSLIKEWATERBUBBLES]] 32
 
define [[WORKSLIKENOENEMYHITS]] 128
 
define [[WORKSLIKESPIT]] 256
 
define [[WORKSLIKECOOLEXPLOSION1]] 512
 
define [[WORKSLIKEBLOOD]] 1024
 
define [[WORKSLIKELOSESVELOCITY]] 2048
 
define [[WORKSLIKENOAIM]] 4096
 
define [[WORKSLIKERANDDECALSIZE]] 8192
 
define WORKSLIKEEXPLODEONTIMER 16384
 
define WORKSLIKEDAMAGEONIMPACT 32768
 
 
Note that the damage on impact bit (32768) must be set on the WORKSLIKE of any RPG type projectile (i.e. nonhitscan) for which the projectile itself does damage, as opposed to the damage being caused only by the hitradius.
 
Syntax is:
 
[[defineprojectile]] <tile number> PROJ_WORKSLIKE <flag value>
 
 
Add all the desired flags together, and use that value for <flag value>. This works similar to [[cstat]].

Latest revision as of 10:56, 21 February 2020

Redirect to: