Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   PLZ Help i Beg You! (https://forums.graalonline.com/forums/showthread.php?t=32786)

faiola 07-03-2002 01:40 AM

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;
}

faiola 07-03-2002 01:45 AM

1 Attachment(s)
this is what it should do.......

Python523 07-03-2002 01:49 AM

is you're purpose to annoy us? you dont have to make thread for every single problem you have, use one thread and dont DONT dobule post, this is your warning, rabid's given you one, and I have, you're on your last chance


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

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