Graal Forums

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

Termina_Owner 02-13-2004 03:16 AM

Ocarina
 
NPC Code:

//#CLIENTSIDE
if (weaponfired) {
disabledefmovement;
setani ddocarina,;
setplayerprop #P2,ddocarina.gif;
timeout=.05;
}

if (timeout) {
this.key = -1;
for (this.i=0;this.i<4;this.i++)
if (keydown(this.i))
this.key = this.i;
if (this.key!=-1){
play ocarina#v(this.key+4*keydown(5)).wav;
this.song={this.song[1],this.song[2],this.song[3],this.song[4],this.song[5],this.key+4*keydown(5)};
this.song0={2,2,0,3,2,0};
setstring this.warpsong0,havenspar.graal 30.5 32.5;
this.matchsong = 0;
if (this.song == this.song0){
tokenize #s(this.warpsong0);
enabledefmovement;
setani idle,;
this.song={-1,-1,-1,-1,-1,-1};
triggeraction 0,0,serverwarp,#t(0),#t(1),#t(2);
}
sleep 0.1;
}
if (keydown(6)) {
enabledefmovement;
setani idle,;
}
timeout=.05;
}



Some code I made about threeforths of a year back. Conceptual, but simple. Comments Appreciated.

Dach 02-13-2004 06:33 AM

needs more songs

Termina_Owner 02-13-2004 06:58 AM

T'was a test. Songs wouldn't regularly be made as such, however, seeing as I wanted just to make it functional, I figured that way would temperarly be useful.

More Songs? Well, I didn't really have any use for it.

WanDaMan 02-14-2004 12:05 PM

Lookin' good :-)
<3

Duwul 02-14-2004 07:51 PM

I thought DK Sizzla made that...

WanDaMan 02-14-2004 09:51 PM

Quote:

Originally posted by Duwul
I thought DK Sizzla made that...
I doubt Rance would steal, DK probably does though..

Duwul 02-14-2004 10:33 PM

I doubt it too.
Oh well.

Termina_Owner 02-14-2004 11:08 PM

*blinks*

Erm... I don't recall ever stealing a script. I made that for Doomsday. Never got used. Ask Tifa, if she's still around, if I made the Ocarina.

*blinks some more*

Ohwell... I didn't think DK steals, at least I hope not... I rather not know if DK steals though! I know for one that he won't be working on my server anyways. My server consists of a Programmer (Me?) and someone who can make Graphics, and I'm not about to hire someone who'll be programming. Only people who can "steal" my codes on it is the graphics person, and I'd trust her with my life.

I'll be viewing the other things on the forums, but surely won't post again for a couple of hours! :P

Duwul 02-15-2004 01:09 AM

Rance you talk to much.

I believe I asked Tifa who made it, and I think she said DK made it. BTW I think DK quit. However, this was a while ago, and I'm not 100% sure.

Termina_Owner 02-15-2004 02:06 AM

You believe?

Ask Tifa if I made one.

WanDaMan 02-15-2004 11:26 AM

Has any even heard of DK Sizzla, i'm guessing that's him?
I doubt he can script, that good anyways...

Termina_Owner 02-15-2004 07:26 PM

Used to work with him on DD.

WanDaMan 02-15-2004 08:04 PM

Quote:

Originally posted by Termina_Owner
Used to work with him on DD.
Well now it's obvious if it was used he stole, lol..

Duwul 02-15-2004 08:34 PM

Quote:

Originally posted by Termina_Owner
Used to work with him on DD.
As did I. Rance I'm not accusing you of anything, all I'm saying is that Tifa said DK made it.

Termina_Owner 02-15-2004 09:29 PM

GAH!... Tell Tifa I made one! Erm... She prolly wouldn't make the differance between mine and DKs, so... Erm... I didn't know DK had one. Ohwell. I don't care, really. I got a lot more codes on my computer.

WanDaMan 02-15-2004 09:31 PM

Quote:

Originally posted by Termina_Owner
GAH!... Tell Tifa I made one! Erm... She prolly wouldn't make the differance between mine and DKs, so... Erm... I didn't know DK had one. Ohwell. I don't care, really. I got a lot more codes on my computer.
Even if you did steal, but you didnt, you would post it on the forums LOL
Well you wouldn't, other people would..

Termina_Owner 02-15-2004 09:37 PM

WTH? I wouldn't post it if I stole it...

I mean, what more direct way is there to prove we stole the script then posting it for everyone to see, including the initial programmer? That would be just stupid, and I don't swing that way.

WanDaMan 02-15-2004 09:38 PM

Quote:

Originally posted by Termina_Owner
WTH? I wouldn't post it if I stole it...

I mean, what more direct way is there to prove we stole the script then posting it for everyone to see, including the initial programmer? That would be just stupid, and I don't swing that way.

So I said, well I thought I said..


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

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