Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACTOR ShootingPuff : BulletPuff replaces BulletPuff
- {
- DamageType NoDamage
- +ALWAYSPUFF
- +PUFFONACTORS
- +PUFFGETSOWNER
- +SEEINVISIBLE
- -ALLOWPARTICLES
- -RANDOMIZE
- VSpeed 0
- var int user_distance;
- States
- {
- Spawn:
- PUFF A 4 Bright NoDelay
- {
- if(!A_CheckFlag(MISSILE,"Null",AAPTR_TARGET))
- {
- A_FaceTarget(0,180,0,0,FAF_MIDDLE);
- A_SetUserVar(user_distance, GetDistance(1));
- A_SpawnItemEX("DoomImpBall",cos(pitch)*user_distance,0,-sin(pitch)*user_distance,
- cos(pitch)*-10,0,-sin(pitch)*-10,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS);
- }
- }
- PUFF B 4
- // Intentional fall-through
- Melee:
- PUFF CD 4
- Stop
- }
- }
- DamageType NoDamage
- {
- Factor 0
- }
Advertisement
Add Comment
Please, Sign In to add comment