Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Dumb question (https://forums.graalonline.com/forums/showthread.php?t=69233)

colin012 10-07-2006 04:45 PM

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 :D

Twinny 10-07-2006 04:48 PM

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

colin012 10-07-2006 04:50 PM

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...

Darlene159 10-07-2006 05:05 PM

Quote:

Originally Posted by colin012 (Post 1227224)
oops...

Fixed :)

colin012 10-07-2006 05:20 PM

This doesn't tell me how to change what the playerchats chat is... They should have classes for this...

Chompy 10-07-2006 05:24 PM

Quote:

Originally Posted by colin012 (Post 1227258)
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"


excaliber7388 10-07-2006 05:31 PM

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

Twinny 10-07-2006 05:33 PM

Once I finish a few of the online lessons I'm making, I'll host them on a playerworld so anyone can access them.

colin012 10-07-2006 06:10 PM

Quote:

btw, player's chat can be setted with
I mean the varable

Chompy 10-07-2006 06:30 PM

variable? define >_>

Chompy 10-07-2006 06:31 PM

Quote:

Originally Posted by Twinny (Post 1227265)
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! ^^ ;) :) :D :p :cool: :megaeek: :oo: :redface:

Twinny 10-07-2006 06:48 PM

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.


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

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