User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: Homing Projectile

  1. #11
    Wizrobe
    Join Date
    Dec 2006
    Age
    29
    Posts
    3,693
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    8,938
    Level
    28
    vBActivity - Bars
    Lv. Percent
    43.36%

    Re: Homing Projectile

    This seems pretty useful. I'll probably find a way to incorparate it into my quest before the day is done.
    Quote Originally Posted by rock_nog View Post
    Well of course eveything's closed for Easter - don't you know of the great Easter tradition of people barricading themselves up to protect themselves from the return of Zombie Christ?


  2. #12
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    33
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,306
    Level
    26
    vBActivity - Bars
    Lv. Percent
    9.18%

    Re: Homing Projectile

    And just for fun...

    Code:
    ffc script flamethrower{
    	void run(int t,int c,int d,int n,int f,int a){
    	if(a==0) a=1;
    	if(d==0) d=4;
    	Waitframes(4);
    	npc e = Screen->LoadNPC(a);
    		while(e->isValid()){
    			homingprojectile(e->X,e->Y,t,c,d,2,n,f);
    		Waitframe();
    		}
    	}
    }

    D0: tile for projectile to use
    D1: cset
    D2: damage (default 1 heart)
    D3: number of frames of animation of projectile
    D4: speed of animation
    D5: enemy to put flamethrower attack onto (default 1)




    Only problem being that the fireballs are blocked even by the small shield.
    Any way I can stop that?




    Oh, and obviously it won't work without the homingprojectile void in the same script.
    I also added a 'CSet' parameter into the void.
    Just an oversight on the earlier version.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social