Thread: NPC Include
View Single Post
  #2  
Old 07-06-2002, 10:12 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: NPC Include

Quote:
Originally posted by iniquitus
A way to include files into NPC's, e.g:

you have your system.txt organised into time.txt, daynight.txt, map.txt, message.txt, and music.txt, your system.txt, which would be the actual NPC would be something like:

if (created) {

toweapons -system-;

include time.txt;
include daynight.txt;
include map.txt;
include message.txt;
include music.txt;

}

If this is alredy possible, let me know, I just think it would be nice for organisational purpouses, also, a file extention for npc scripts would be good too, like .npc or maybe .gs (graal script, not to be confused with ghost script)

maybe a way to compile npc's too, .gsc (graal script compiled) and .gss (graal script source) maybe not... i dont think it's needed, unless it would add speed and reduce server load. (less lag)

what about .gss (graal server script) i like that one. sounds alot beter than "non playing charector" or whatever it is

Urizen
serverside -
join classname;
Reply With Quote