Jump to content

Installation Error


theacefes

Recommended Posts

Weidu is giving me an error.

 

[AurenToB/Scripts/K#Aure25.baf] PARSE ERROR at line 260 column 32-32
Near Text: )
	[Global] not found in ACTION.IDS

[AurenToB/Scripts/K#Aure25.baf]  ERROR at line 260 column 32-32
Near Text: )
	Parsing.Parse_error
ERROR: parsing [AurenToB/Scripts/K#Aure25.baf]: Parsing.Parse_error
ERROR: error compiling [AurenToB/Scripts/K#Aure25.baf]: Parsing.Parse_error
ERROR: compiling [AurenToB/Scripts/K#Aure25.baf]!
Stopping installation because of error.

 

This is the block of code that it refers to:

 

IF
Global("ValinorDie", "GLOBAL", 1)
Global("AriannaExist","GLOBAL",0)
AreaType(OUTDOOR) 
!Exists("ARIANNA1") 
THEN
RESPONSE #100
SetGlobal("AriannaExist","GLOBAL",1) 
CreateCreatureObjectDoor("ARIANNA1",Myself,0,0,0)
END

 

Line 260 is this line, though the error is probably somewhere around it:

 

Global("AriannaExist","GLOBAL",0)

 

My instincts are telling me it's something simple. Can you see it? :)

 

If this helps, here is the block before it:

 

IF
Global("AurenQuest", "GLOBAL", 1)
Global("ValinorDie", "GLOBAL", 0)
Dead("K#ValiT")
Dead("K#Grun1")
Dead("K#Grun2")
Dead("K#Grun3")
THEN
RESPONSE #100
SetGlobal("ValinorDie", "GLOBAL", 1)
END

 

I'm not sure what "global" it's referring to that isnt found or if it's something else it's not finding.

Link to comment

[Global] not found in ACTION.IDS <<

 

I get these errors under two conditions: one, capitalization wrong (looks like not the case here, but GLOBAL("variable","GLOBAL",#) ) --

 

but the ACTION.IDS seems to point to a missing "Set", turning a line that should do something into a line that contains a trigger instead. Check your code for a Global("var","type",#) where it should read SetGlobal("var","type",#) in the lines before the parse error.

 

I can't find it in your example above, but check higher up, perhaps? I see no extra ), and everything looks capitalized correctly, and while I agree with Meira that all those extra spaces need to be tightened up I do have sections of code where I have not gotten around to correcting the extra space thing and it doesn't throw a parse eror.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...