Graal Forums

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

Sep3kP2P 09-22-2001 08:16 AM

???
 
tell me if this is a good idea or what, but in normal c++ we have files like Functions.h and stuff like that. wouldn't it be nifty if we had a thing that worked like that so we wouldn't have to type or functions over and over again?

Merlin 09-22-2001 08:20 AM

uhh
they do
for example

PHP Code:

if (weaponfired) {shoot();


function deffinition

PHP Code:

function shoot() {
shootarrow playerdir;



Merlin 09-22-2001 08:26 AM

Quote:

Originally posted by Kaimetsu


And if he's talking about header files then he can use joinable classes on the NPC Server.

werd

Sep3kP2P 09-22-2001 09:02 AM

=/
 
i meant on the server there is a txt file, and in the script u wanna use u say #include blabla.txt; and then you can just call the function, and it reads it from the txt file.

Tyhm 09-22-2001 11:37 AM

I heard something like that exists. Or more accurately, I did not, ever. ^_~

LiquidIce00 09-22-2001 11:14 PM

on free u cant ..
and on p2p u can just type join whatever;
and it joins if that exists (much like classes in c++)

Tyhm 09-23-2001 03:32 AM

That would be so handy on Classic...
Liquidice, take the arab-popping quote out of your sig please, Unixmad made it pretty clear that's not acceptable.

ownerofbabylon 09-23-2001 04:26 AM

Quote:

Originally posted by Tyhm
That would be so handy on Classic...
Liquidice, take the arab-popping quote out of your sig please, Unixmad made it pretty clear that's not acceptable.

I thought Liquid Ice was arab

LiquidIce00 09-23-2001 06:28 AM

nawh it was just a joke im not racist..
and im Brazilian (thats latin not arab)
..
there u go tyhm .. im keeping the sexyness in it tho ..

Dean 09-23-2001 04:02 PM

lolz
 
There you go...


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

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