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 10-07-2006, 04:45 PM
colin012 colin012 is offline
That never happened...
colin012's Avatar
Join Date: Feb 2006
Location: Under your bed.....
Posts: 321
colin012 is on a distinguished road
Post Dumb question

I'm not very good at scripting I can change how something looks but thats it. Is their anyone who can teach me how to script unlike that text file that is to much to memorize in one day. Thanks
__________________
Dude! It's a skirt...
Quote:
Originally Posted by Elizabeth View Post
Good lord it looks potent...
Reply With Quote
  #2  
Old 10-07-2006, 04:48 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Also would help to spell the topic right

http://wiki.graal.net/index.php/Crea...Starting_Guide

Start here. Once you have read that

http://wiki.graal.net/index.php/Creation/Dev/GScript
Reply With Quote
  #3  
Old 10-07-2006, 04:50 PM
colin012 colin012 is offline
That never happened...
colin012's Avatar
Join Date: Feb 2006
Location: Under your bed.....
Posts: 321
colin012 is on a distinguished road
Quote:
Also would help to spell the topic right

http://wiki.graal.net/index.php/Crea...Starting_Guide

Start here. Once you have read that

http://wiki.graal.net/index.php/Creation/Dev/GScript

Thanks and oops...
__________________
Dude! It's a skirt...
Quote:
Originally Posted by Elizabeth View Post
Good lord it looks potent...
Reply With Quote
  #4  
Old 10-07-2006, 05:05 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by colin012 View Post
oops...
Fixed
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #5  
Old 10-07-2006, 05:20 PM
colin012 colin012 is offline
That never happened...
colin012's Avatar
Join Date: Feb 2006
Location: Under your bed.....
Posts: 321
colin012 is on a distinguished road
This doesn't tell me how to change what the playerchats chat is... They should have classes for this...
__________________
Dude! It's a skirt...
Quote:
Originally Posted by Elizabeth View Post
Good lord it looks potent...
Reply With Quote
  #6  
Old 10-07-2006, 05:24 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by colin012 View Post
This doesn't tell me how to change what the playerchats chat is... They should have classes for this...
classes?

btw, player's chat can be setted with
PHP Code:
player.chat "text here"
__________________
Reply With Quote
  #7  
Old 10-07-2006, 05:31 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Here's one I started workiing on. There's a few typos, and it's only going to get you started out.
http://wiki.graal.net/index.php/Crea...cripting_guide
Reply With Quote
  #8  
Old 10-07-2006, 05:33 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Once I finish a few of the online lessons I'm making, I'll host them on a playerworld so anyone can access them.
Reply With Quote
  #9  
Old 10-07-2006, 06:10 PM
colin012 colin012 is offline
That never happened...
colin012's Avatar
Join Date: Feb 2006
Location: Under your bed.....
Posts: 321
colin012 is on a distinguished road
Quote:
btw, player's chat can be setted with
I mean the varable
__________________
Dude! It's a skirt...
Quote:
Originally Posted by Elizabeth View Post
Good lord it looks potent...
Reply With Quote
  #10  
Old 10-07-2006, 06:30 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
variable? define >_>
__________________
Reply With Quote
  #11  
Old 10-07-2006, 06:31 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Twinny View Post
Once I finish a few of the online lessons I'm making, I'll host them on a playerworld so anyone can access them.
Yay!
__________________
Reply With Quote
  #12  
Old 10-07-2006, 06:48 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
chat is a variable of player.

player.chat = "hai!!"; will show hai!! over a player.

Can also do stuff like
PHP Code:
function onPlayerChats()
{
  if (
player.chat == "hai!")
    
this.chat "hai2u!";

Also, if you are trying these code in Editor.exe you should warn us as GS2 does not work in Editor as of yet.
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 04:52 PM.


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