Graal Forums

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

Yushiwa 06-02-2002 03:49 AM

Player Leaves?
 
Okay, lets say you want a script so when the player leaves the room he/she is in, you don't go to the next level quite yet, but you have backpals that fade into the black backpal and then you go to the next level. So, it is like some Zelda game or something for Game Boy. Or Pokemon, you know so when you get in a battle in Pokemon, it fades.

Python523 06-02-2002 03:53 AM

just make it so when you enter a level, it does this

Yushiwa 06-02-2002 03:59 AM

But, I only want it in one level, and I dont want it to where you leave a different level it DOESNT do it but in that one level it does.

Python523 06-02-2002 04:00 AM

ok then, make a level that you go to and then after the fading thing, it sends you to the level you were suppose to go to

Yushiwa 06-02-2002 04:05 AM

Quote:

Originally posted by Python523
ok then, make a level that you go to and then after the fading thing, it sends you to the level you were suppose to go to
That my friend, will work. Thank you!

Python523 06-02-2002 07:55 AM

but what else can you do?

Python523 06-02-2002 08:00 AM

yes, that could work if you wanted to do it for every link on the server which is what he wants I think

nyghtGT 06-02-2002 01:10 PM

I think 'playerleaves' is used to see if all players leave that level...

Python523 06-02-2002 09:15 PM

my solution would set a string just before the level sends you, then it would send you to a room which would do the fading and such and then it would send them to the level that's in the string, and nyght, playerleaves is serversided only I think

BBflat 06-02-2002 11:15 PM

Quote:

Originally posted by Python523
yes, that could work if you wanted to do it for every link on the server which is what he wants I think
I got the impression it was only for one link.

azuretek23 06-03-2002 09:51 PM

pink elephants and spam... lots of spam...

screen_name 06-03-2002 10:40 PM

Quote:

Originally posted by Python523
my solution would set a string just before the level sends you, then it would send you to a room which would do the fading and such and then it would send them to the level that's in the string, and nyght, playerleaves is serversided only I think
lol, this sounds like a great way to do it :rolleyes:


kai's way is the best to do it, naturally =D

Yushiwa 06-04-2002 08:51 AM

I already got it! Thanks guys!

I just copied the level in a new level and used the seteffect in the 2nd copied level then went to the level I wanted it to fade into.


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

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