Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-15-2002, 05:58 AM
Kamaeru Kamaeru is offline
G2k1
Kamaeru's Avatar
Join Date: Dec 2001
Posts: 1,040
Kamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud of
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?
__________________
3DS friendcode: 1118-0226-7975
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:15 AM.


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