Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Need Help with a boss (https://forums.graalonline.com/forums/showthread.php?t=29186)

Kamaeru 05-15-2002 05:58 AM

Need Help with a boss
 
i need help with a boss, i dont have the gani maker so i had to do it the cheap way, can you tell me what's wrong?



// NPC made by Cloud Strife
if (created) {
hearts=hearts+10;
setimgpart cloudproject.gif,95,0,50,50;
set fine;
}
if (playertouchsme && fine) {
setimgpart cloudproject.gif,95,50,50,50;
hurt 2;
sleep .5;
setimgpart cloudproject.gif,95,0,50,50;
sleep .5;
say2 Dont mess With Me Man!;
}

if (washit && fine){
message AAAAAAAAH!;

canbecarried;
set notfine;
unset fine;
}
if (hearts=0){
destroy;
}
if (notfine){
sleep 2;
unset notfine;
set fine;
}
if (wasthrown){
hearts=-1;
sleep .5;
set fine;
unset notfine;
}


Oh yeah you cant have the gfx for cloudproject.gif, but the proportions are all right and most of the stuff works, except i made it so when i hit him with my sword he becomes vulnerable, so i have a chance to pick him up and throw him, and when he's thrown he should get hurt, but when i throw him hi isnt hurt and he stays froze forever =\ what am i doing wrong?


All times are GMT +2. The time now is 03:00 AM.

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