Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-18-2005, 01:54 AM
alissalee alissalee is offline
Mr. Ciprioni Atrius Admin
alissalee's Avatar
Join Date: Dec 2004
Location: Lawrence, Ma
Posts: 190
alissalee is an unknown quantity at this point
Send a message via AIM to alissalee Send a message via MSN to alissalee
world slection warp

how would i start out a script like this if just asking how to start it ot only
Reply With Quote
  #2  
Old 08-18-2005, 02:02 AM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
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.
Reply With Quote
  #3  
Old 08-24-2005, 10:04 PM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
The best way to learn is to figure the problem out on your own and learn from your mistakes.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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