Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   world slection warp (https://forums.graalonline.com/forums/showthread.php?t=60570)

alissalee 08-18-2005 01:54 AM

world slection warp
 
how would i start out a script like this if just asking how to start it ot only

protagonist 08-18-2005 02:02 AM

For GS1:
Commands
showtext //Clientside
serverwarp //Clientside

Events
//Something to initiate the script. Created, weaponfired, playerchats, etc., (probably clientside, unless your using triggeraction for some reason)
Keydown //Clientside
mousedown //Clientside, event optional as you could just script it for the keyboard

Built-in Variables
mousex //Clientside
mousey //Clientside



Look each of these up and give a guess at it. I'll tell you if you're on the right track. It may look hard, but start by viewing each of the commands/events/variables in the newfeatures texts by using the Find tool in a text editor.

Hint: Remember that you must first use an event to initialize the script (get the script to "run"). You then would logically check to either see if a player clicks a server or if the player selected the server using the keyboard and then note the selection. Finally, you would warp them to the server.

calani 08-24-2005 10:04 PM

The best way to learn is to figure the problem out on your own and learn from your mistakes.


All times are GMT +2. The time now is 03:33 AM.

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