Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   What are the Scripts for... (https://forums.graalonline.com/forums/showthread.php?t=4349)

Huggles 06-09-2001 10:14 AM

What are the Scripts for...
 
Boomerang
Mace
Lat Boots
Trident
Super Bomb?

kyle0654 06-09-2001 10:33 AM

Boomerang - long
Mace - *scratches head* somewhere
Lat Boots - if (playerisLAT) dostuff();
Trident - needlessly complicated
Super Bomb? - horridly simple

vergil 06-09-2001 10:41 AM

huh? you are asking for the scripts? im sure you have the levelpack... right..?

Spearman 06-09-2001 10:56 AM

They are all in the older graal versions

freddyfox 06-09-2001 11:13 AM

I have all the old weapon scripts if you need them. (Boomerang, shovel, mace etc.)

grim_squeaker_x 06-09-2001 04:25 PM

LAT Boots:
NPC Code:
if (playertouchsme) toweapons LAT Boots;
if (weaponfired) this.active=(this.active+1)%2;
if (created||timeout) {
if (this.active==1) {
for (this.k=0;this.k<4;this.k++) if (keydown(this.k)) {
playerx+=vecx(this.k);
playery+=vecy(this.k);
}
}
timeout=0.05;
}


Spunky2000ca 06-09-2001 09:35 PM

I think Shadow Dragons have all those NPCs

LiquidIce00 06-10-2001 08:15 AM

Quote:

Originally posted by kyle0654
Boomerang - long
Mace - *scratches head* somewhere
Lat Boots - if (playerisLAT) dostuff();
Trident - needlessly complicated
Super Bomb? - horridly simple

Kyle is a good resource ;D!

grim_squeaker_x 06-11-2001 10:02 PM

superbomb:
NPC Code:

if (created) this.putloc={0.5,-1,-1.5,1,0.5,2.5,2.5,1};
if (weaponfired&&playerbombs>0) {
putbomb 1,playerx+this.putloc[playerdir*2],playery+this.putloc[playerdir*2+1];
playerbombs--;
}


06-13-2001 11:45 PM

:o wow..midnight is doing al the work for him...why dont you let him try it himself?

then he can learn something about it..;)


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

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