View difference between Paste ID: 7Bb1jXQN and PvTArUZz
SHOW: | | - or go back to the newest paste.
1
  //ShrinkRay
2
  ACTOR ZombieManx : ZombieMan Replaces Zombieman
3
  {
4
  PainChance "Shrink", 255
5
  States
6
  {
7
  Pain.Shrink:
8
    POSS G 1 A_SetScale(0.875)
9
    POSS G 1 A_SetScale(0.75)
10
    POSS G 1 A_SetScale(0.6255)
11
    POSS G 0 A_ChangeFlag ("THRUACTORS",1)
12
    POSS G 0 A_SpawnItemEx("ZombieManSmall",0,0,0,0,0,0,0,SXF_TRANSFERPOINTERS|SXF_NOCHECKPOSITION)
13
    POSS G 0
14
    Stop     
15
    }
16
  }
17
18
  ACTOR ZombieManSmall : ZombieMan
19
  {
20
  Health 5
21
  Radius 10
22
  Height 28
23
  Scale 0.5   
24
  DamageFactor "Boot", 255
25
  +FRIGHTENED
26
  +TOUCHY
27
  States
28
  {
29
  Spawn:
30
    POSS G 0
31
    POSS G 0
32
    POSS G 3 A_Pain
33
    Goto See  
34
  Death:
35
    Goto XDeath
36
    }
37
  }