Graal Forums

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

Knuckles 08-23-2003 11:13 PM

join classes
 
While using the 'join' command, serverside -- is there anway to join a CLASS from a string?

'Cause i've tryed:
join #s(stringname);

And it only appears as #s(stringname) in the class options..

Kaimetsu 08-23-2003 11:18 PM

No, join is a static command. It's not interpreted as the script is running, it just tells the engine how to construct a virtual script.

Goboom 08-23-2003 11:55 PM

Re: join classes
 
Quote:

Originally posted by Knuckles
While using the 'join' command, serverside -- is there anway to join a CLASS from a string?

'Cause i've tryed:
join #s(stringname);

And it only appears as #s(stringname) in the class options..

Would there really need to be a reason for this anyways?

Kaimetsu 08-24-2003 12:15 AM

Re: Re: join classes
 
Quote:

Originally posted by Goboom
Would there really need to be a reason for this anyways?
I guess he wants to dynamically specify the code for a putnpc2.

Goboom 08-24-2003 12:44 AM

Re: Re: Re: join classes
 
Quote:

Originally posted by Kaimetsu


I guess he wants to dynamically specify the code for a putnpc2.

Well that makes a little more sence, but I still see no real point to it but maybe a little more efficiency.

Python523 08-24-2003 01:28 AM

wait for the new engine, it'll support dynamic joining, and leaving a class

Knuckles 08-24-2003 05:06 AM

Quote:

Originally posted by Python523
wait for the new engine, it'll support dynamic joining, and leaving a class
Ok thanks.
Does the Linux Graal have RC also?
And... everything works prety much the same, correct?

Knuckles 08-24-2003 05:07 AM

Re: Re: Re: join classes
 
Quote:

Originally posted by Kaimetsu


I guess he wants to dynamically specify the code for a putnpc2.

Yes, something like that.

wonderboysp2p 08-25-2003 08:28 AM

i was also gonna try to use a string for a join command in a putnpc2 :( dammet

Python523 08-25-2003 03:34 PM

Quote:

Originally posted by Knuckles

Ok thanks.
Does the Linux Graal have RC also?
And... everything works prety much the same, correct?

Stefan's plans include turning RC into something built into graal, aka scripted with the new engine, and no everything does NOT work the same, some of the things are similar but graalscript is a lot more like c++ in the new engine


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

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