Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Ideas for the Next Graal Version (https://forums.graalonline.com/forums/showthread.php?t=10574)

oscarjf1 08-28-2001 12:32 AM

Ideas for the Next Graal Version
 
Maybe this is a little farfetched...but i think its a great idea, that would make scripting a whole lot easier!
There should be an NPC feature that enables it to be a client. Like, act as a player (not more special or anything). That way, scripters could test more things, like players[x].var and stuff.

I think the people who understand what im saying (its hard to describe....i think) would probably like it. Maybe add a check box to the auto NPC thing that makes the Chars for you based on headconfig.txt, that says "Act as character?" with yes or no boxes.

Anyways, what do all of you think?

kyle0654 08-28-2001 12:38 AM

I'm not sure about it now, but in the days of old, NPC Characters (made with showcharacter) actually showed up in the players[x] list, and you had to check players[x].id to make sure they were a player and not an NPC.

Poogle 08-28-2001 07:50 AM

Re: Ideas for the Next Graal Version
 
Quote:

Originally posted by oscarjf1
Maybe this is a little farfetched...but i think its a great idea, that would make scripting a whole lot easier!
There should be an NPC feature that enables it to be a client. Like, act as a player (not more special or anything). That way, scripters could test more things, like players[x].var and stuff.

I think the people who understand what im saying (its hard to describe....i think) would probably like it. Maybe add a check box to the auto NPC thing that makes the Chars for you based on headconfig.txt, that says "Act as character?" with yes or no boxes.

Anyways, what do all of you think?

New Scripts =D Deleting old scripts for new ones ='(

Shard_IceFire 08-29-2001 07:32 AM

actually i think that is a real good idea...I know i sure would use it a lot.

fuzie 08-29-2001 02:04 PM

wouldnt this be in 'Future Improvements'??:confused:

oscarjf1 08-29-2001 10:44 PM

bah
 
It had to do with scripting, and i was already in this forum at the time, lol.

entravial 08-30-2001 03:00 AM

~AlphaFlame~

*nods at what Kyle said*

NPC characters do use players[i].vars... I you put something like...

for(i=0;i<playerscount;i++){
putexplosion 0,players[i].x,players[i].y;
}

in a weapon, and had a few showcharacter npcs, you'd see an explosion at each of them ^_^;


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

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