Graal Forums

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

HeeroYuy2000 05-23-2002 09:56 AM

Help with script
 
Ok well i am working for a server and i cant figure out how to make it so that when you play a server for the first time you cant see the other people in the level...I need this because you enter and you are on the ground and blah blah and if you can see the other players it will ruin it so if you can i help i would really appreciate it!

Proxy 05-23-2002 09:59 AM

AlexH

Make the same level twice.
One is where the player starts in the server and only has warps out but none in.
The other that is connected to the rest of the server with warps in and out.
Thats the way I would do it. :)

HeeroYuy2000 05-23-2002 10:07 AM

...
 
no i mean when a server firt comes out like 50 people are on at once i want it so you cant see those people in the same level...

BBflat 05-23-2002 08:01 PM

Whenever I make starting levels or intro levels, movies, etc., I always make about 7-10 levels with the exact same thing only with different names. Then I have something like this...

NPC Code:

if (playerenters)
{
if (isleader)
{
movie code, or whatever else;
}
else
{
setlevel2 nextlevel,playerx,playery;
}
}



Then the level won't reset when someone enters unless they are the leader, and you will get warped to another room if you are not the first person. When you get to the last room and it is still occupied, set the warp to the entrance.

HeeroYuy2000 05-23-2002 10:44 PM

and if all the rooms are full then you wont be warped though...
but that is a good i dead

BBflat 05-24-2002 05:20 AM

Quote:

Originally posted by HeeroYuy2000
and if all the rooms are full then you wont be warped though...
but that is a good i dead

If you have that many people doing the intro at once, that's your cue to add more levels. I find that rather unlikely, though.


All times are GMT +2. The time now is 08:21 AM.

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