home *** CD-ROM | disk | FTP | other *** search
- class Enemy_7 extends Enemy
- {
- var numLife;
- var numSpeed;
- var arrEvents;
- var guns;
- function Enemy_7()
- {
- super();
- }
- function ConfigureEnemy()
- {
- this.numLife = 20;
- this.numSpeed = 3;
- this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(3,6)});
- this.arrEvents.push({name:"Drops Gun",triggerValue:19,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_2"});
- this.arrEvents.push({name:"Enemy Split",triggerValue:19,hit:false,custom:false,action:"EVENT_Spawn",values:Array("Enemy_8",1)});
- this.guns.push({name:"gun_1",type:1,fireTimerMax:60,fireTimerMin:40,counter:60,speed:5,size:100,damage:2});
- this.guns.push({name:"gun_2",type:1,fireTimerMax:60,fireTimerMin:40,counter:80,speed:5,size:100,damage:2});
- }
- }
-