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 12-08-2009, 12:37 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by DarknessShadow View Post
VB6 is a decent language with the right resources,it all depends on what your are trying to do.
Visual Basic has a very lazy "verbose" syntax; you make very heavy use of keywords to instruct it to do something. GScript is less like that, since it borrows it's syntax from ECMAScript or even C/C++. There is more notation to learn. GScript is a lot more structured also, it takes a more object-oriented approach to programming and attempts to modularise things into weapons, classes, database NPCs, etc so that to someone new coming along, they make more sense and have relatively specific purposes.

I guess there are similarities; VB will have functions and variables just the same as GScript does, because these are quite fundamental to most scripting languages, but you will find that the accepted ways of doing things are quite different.
__________________
Skyld
Reply With Quote
  #2  
Old 12-08-2009, 12:40 AM
DarknessShadow DarknessShadow is offline
Registered User
Join Date: Jun 2007
Location: Northern Ireland
Posts: 78
DarknessShadow is on a distinguished road
Send a message via AIM to DarknessShadow Send a message via MSN to DarknessShadow
Quote:
Originally Posted by Skyld View Post
Visual Basic has a very lazy "verbose" syntax; you make very heavy use of keywords to instruct it to do something. GScript is less like that, since it borrows it's syntax from ECMAScript or even C/C++. There is more notation to learn. GScript is a lot more structured also, it takes a more object-oriented approach to programming and attempts to modularise things into weapons, classes, database NPCs, etc so that to someone new coming along, they make more sense and have relatively specific purposes.

I guess there are similarities; VB will have functions and variables just the same as GScript does, because these are quite fundamental to most scripting languages, but you will find that the accepted ways of doing things are quite different.
I do know a little C++/PHP syntax, from the few snippets I've read it seems to make sense in my head.
Is there anywhere other than the wiki to learn? Or is that where everything goes(Apart from the forums too :P )
__________________
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 07:40 AM.


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