Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   I need help (https://forums.graalonline.com/forums/showthread.php?t=2339)

LilbrojX 05-07-2001 07:41 AM

help me!
 
I'm making a kamikaze baddy, but the respawn doesn't work right... this is the respawn I'm using....

if (timeout&&this.startrespawn=1) {
this.respawn+=1;
}

if (this.respawn=3) {
show;
setcharani bomboboomarespawn,#f;
//hearts=1
this.x = x;
this.y = y;
this.chase=0;
this.dead=0;
this.startrespawn=0;
this.respawn=0;
}



when I put if (this.respawn=1) instead of 3, it works, but it reapawns just as fast as it dies... help?

LilbrojX 05-07-2001 07:51 AM

please help :(

anybody? :(


All times are GMT +2. The time now is 07:45 PM.

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