Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Read This! (https://forums.graalonline.com/forums/showthread.php?t=11448)

Vinvect 09-08-2001 11:13 PM

Read This!
 
post ur shape scripts.
i mean like this(it goes in a sprial):D
u can do triangle spairals and da hardest:
star sprial!
mine is a circle sprial:
NPC Code:

//NPC Made by Darkyoshi1
// Flame Spiral

if (playertouchsme) {toweapons Flame Spiral;
}
if(weaponfired&&playermp>49){playermp-=50;
freezeplayer 2; playersprite=24;timeout=.5;
this.radius=4;
if(playerdir=3)this.angle=(3*3.14)/2;
if(playerdir=0)this.angle=(3*3.14)/4;
if(playerdir=1)this.angle=3.14/2;
if(playerdir=2)this.angle=3.14/4;
}
if(timeout&&this.radius<10){timeout=.05;
this.x=playerx+.5+cos(this.angle)*this.radius;
this.y=playery+.5+sin(this.angle)*this.radius;
putexplosion 1,this.x,this.y;
this.radius+=.2; this.angle+=.314}



All times are GMT +2. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.