Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-04-2002, 04:41 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Formatting

What do you people see as the correct way to format a script?
I personally see it this way:

1 line:
if(playerenters) setcharprop #c,hi;

>1 lines:
NPC Code:

if(created||timeout){
i++;
setcharprop #c,#v(i);
timeout = .05;
}


What about you people? Maybe using correct formatting shouldn't be a rule but maybe encouraged to be used more often? I personally find it annoying to see scripts that aren't formatted that way =/
Reply With Quote
 


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:20 AM.


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