Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Diving? (https://forums.graalonline.com/forums/showthread.php?t=16656)

Brad_Elven 11-12-2001 03:26 AM

Diving?
 
How would I make a NPC so that when the player is swimming... o wait would this work:

if(weaponfired&&isweapon(diver)&&(#l,divinglevel.g raal)&&x=3&&y=3){
then it warps to wheverever

would that work?

Brad_Elven 11-12-2001 04:27 AM

anyone?

nyghtGT 11-12-2001 06:46 AM

here this would work ....
NPC Code:

NPC Code:

if (weaponfired && strcontains(#L,levelname.graal) && x=3 && y=3) {
setlevel levelname2.graal;
}





you wouldn't need to have 'isweapon' part because if the player is firing the weapon it is obviously the weapon he has ...

mikepg 11-12-2001 08:06 AM

ummm
 
im pretty sure you cannot use weapons while in the water....so, that would render that script useless without triggeraction....

royce 11-12-2001 08:45 AM

u guys dont know nething,no offense...hey Lord Helmut, im me@Shaddr3 and i'll give ya something to solve ur troubles

Brad_Elven 11-12-2001 08:54 AM

Quote:

Originally posted by royce
u guys dont know nething,no offense...hey Lord Helmut, im me@Shaddr3 and i'll give ya something to solve ur troubles
a dolphin to hug?

royce 11-12-2001 08:57 AM

u gonna im me?

Mrmicro 11-12-2001 09:01 PM

I like dolphins
 
I like dolphins

Faheria_LAT1 11-12-2001 09:16 PM

Re: ummm
 
Quote:

Originally posted by mikepg
im pretty sure you cannot use weapons while in the water....so, that would render that script useless without triggeraction....
Don't worry, there's a way to use weapons in water ;)

Xaviar 11-12-2001 11:35 PM

Helmut...Use keydown


All times are GMT +2. The time now is 09:23 AM.

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