Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Actor GrassBlade
- {
- Radius 3
- Height 2
- Speed 25
- FastSpeed 50
- Damage 5
- Projectile
- +RANDOMIZE
- Alpha 1
- SeeSound "imp/attack"
- States
- {
- Spawn:
- TSGP A 4
- Loop
- Death:
- TNT1 A 1 A_SpawnItem("FoliageShock")
- TNT1 A 1
- Stop
- }
- }
- Actor FoliageShock
- {
- var int user_resultangle;
- +INVISIBLE
- Radius 0
- Height 0
- Speed 0
- States
- {
- Spawn:
- TNT1 A 1 A_SetUserVar("user_resultangle", 0)
- goto SpawnFoliage
- SpawnFoliage:
- TNT1 A 0 A_SpawnItem("Foliage")
- TNT1 A 0 A_SetUserVar("user_resultangle",user_resultangle+1)
- TNT1 A 0 A_JumpIf(user_resultangle==7,"Death")
- Loop
- Death:
- TNT1 A 1
- Stop
- }
- }
- Actor Foliage : GrassBlade
- {
- Scale 0.4
- States
- {
- Spawn:
- TSGP A 0 A_SetAngle(random(0, 359))
- goto Idle
- Idle:
- TSGP A 4
- Loop
- Death:
- TNT1 A 1
- Stop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment