How do i make dmg on a shotgun that shoots 3 bullets
3.Bullet does not have dmg
2.Bullet has dmg
1.Bullet does not have dmg
you need remove the damage of the item,
And create a new script with trigger when unit starts touching projectile
actions:
if / else / then (Projectile Type Comparison)
projectile type of ( last touched projectile ) = = ( the projectile of shotgun )
then do:
set entity attribute(set value of ( health ) of ( last touching unit ) as calculate(op1=entity attribute(in Function)=( health ) of ( last touching unit )) - ( the damage of you like put(in Manual Input))
but where do i put the create projectile in? and the projectiles are too strong if i put it on -30 if i put it on 25 no - it doesent deal dmg
The coordenate its maked of the specific shotgun, this part its for test the script muchhhss timees.