Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-03-2002, 01:40 AM
faiola faiola is offline
Registered User
Join Date: Jun 2002
Posts: 27
faiola is on a distinguished road
Send a message via AIM to faiola
Exclamation PLZ Help i Beg You!

I would Really Love It For Somone To Tell Me Why My System isn't working?

it works up untill you change it to the larger format





// NPC made by X.Draco.X
if (isweapon) {
if (this.mode==1) {

showimg 300,healthbar.gif,800,30;
showimg 301,@#v(playermp)/100,855,74;
showimg 303,@#v(playerhearts*100)/#v(playerfullhearts*100),855,42;
showimg 2,@#v(playerhearts*100)/#v(playerfullhearts*100),playerx-1,playery-2;
showimg 302,@#v(playerap),938,130;
showstats 1+256+512+1024;
changeimgvis 300,4;
changeimgvis 301,4;
changeimgvis 302,4;
changeimgvis 303,4;
timeout = .05;

if (keypressed&&strequals(#p(1),o)&&this.mode==1)
this.mode = 2;
timeout = .05;
}
if (this.mode==2) {
showimg 300,healthbar-big2.gif,708,30;
showimg 304,@ XXX,847,120;
showimg 305,@#v(playerrupees),868,187;
showimg 307,@#v(playerbombs),760,89;
showimg 306,@#v(playerdarts),760,54;
showstats 1+256+512+1024;
changeimgvis 300,4;
changeimgvis 301,4;
changeimgvis 302,4;
changeimgvis 303,4;
changeimgvis 304,4;
changeimgvis 305,4;
changeimgvis 306,4;
changeimgvis 307,4;
timeout = .05;

if (keypressed&&strequals(#p(1),o)&&this.mode==2)
this.mode = 1;
timeout = .05;
}
timeout = .05;
}

if (playerenters) {
this.mode =1;
toweapons *system;
showstats 1+2+4+8+16+256+512+1024;
setani human_idle,;
replaceani sword,human_sword;
setplayerprop #8,body106.png;
replaceani walk,human_walk;
replaceani idle,human_idle;
replaceani throw,human_throw;
replaceani push,human_push;
replaceani hurt,human_hurt;
replaceani carry,human_carry;
replaceani carrystill,human_carrystill;
replaceani ride,human_ride;
replaceani pull,human_pull;
replaceani grab,human_grab;
replaceani lift,human_lift;
replaceani sit,human_sit;
replaceani dead,human_dead;
replaceani swim,human_swim;
toweapons *system;
timeout = .05;
}
__________________
 


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 02:31 PM.


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