Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-09-2008, 11:09 PM
Raeiphon Raeiphon is offline
I never asked for this.
Join Date: Jun 2005
Posts: 855
Raeiphon is on a distinguished road
I wish GS2 required proper indentation to work, similar to Python or Lua

Makes life a whole lot easier when developing proper scripting habits
__________________

I hope for nothing. I fear nothing. I am free.
Reply With Quote
  #2  
Old 11-09-2008, 11:32 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by Raeiphon View Post
I wish GS2 required proper indentation to work, similar to Python or Lua
lua does not require indentation to work. It does not even require semicolons.

Quote:
Makes life a whole lot easier when developing proper scripting habits
Those languages are designed to be actually used for more than teaching.
Reply With Quote
  #3  
Old 11-10-2008, 04:35 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Raeiphon View Post
I wish GS2 required proper indentation to work, similar to Python or Lua

Makes life a whole lot easier when developing proper scripting habits
People have different tastes in what looks good in scripts, though probably 90[percent] of GS2 scripters agree on how they do it.
__________________
Reply With Quote
  #4  
Old 11-10-2008, 04:39 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Raeiphon View Post
I wish GS2 required proper indentation to work, similar to Python or Lua

Makes life a whole lot easier when developing proper scripting habits
The indentation is fine(I'm assuming), it just wasn't closed in php tags so it lost it.

Either way, I usually find the actual indentation of scripts fine, it's usually the placement of brackets and the use of whitespace that differs between scripters. Either way, there is no reason to discriminate those who prefer to indent different. What about those who prefer tabbing instead of the typical two-space of Graal?

This script seems to have two different forms of styling going on, though.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:04 PM.


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