SetProjectileFlag
Revision as of 21:06, 27 March 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets a projectile's flag value (determined by <i>flagID</i>). |name = SetProjectileFlag |returnType = flagValue:0/1 |arguments = {{...")
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets a projectile's flag value (determined by flagID).
Syntax
(flagValue:0/1) SetProjectileFlag projectile:ref flagID:int{0-11} newValue:0/1
Projectile Flag IDs
0 Hitscan 1 Explosion 2 Alt. Trigger 3 Muzzle Flash 5 Can Be Disabled 6 Can Be Picked 7 Supersonic 8 Crit. Effect: Pins Limbs 9 Pass Through Small Transparent 10 Detonates 11 Rotation
Example
SetProjectileFlag 12GaSlugProjectile 7 1