Thread: disabling v2,3?
View Single Post
  #27  
Old 01-21-2006, 04:59 PM
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 excaliber7388
i'm following many of the rules, but im still having trouble making it all work x_X how could it be so much more 'picky' x_X what else could I be doing wrong, theres no missing ; or {} out or f place,
Is everything inside an event block?
PHP Code:
if (event)
{
  if (
foo == bar)
  {
    
// code
  
}

Instead of...
PHP Code:
if (foo == bar)
{
  
// code

Quote:
Originally Posted by excaliber7388
i replaced this. with temp.
You clearly don't understand what temp. variables are for.

this. variables are stored within the NPC, temp. variables are destroyed at the end of the current function.
Quote:
Originally Posted by excaliber7388
I formatted everything well, what else could I do?
Learn gscript2 already.
__________________
Skyld