Jump to content

Witcher 3 Script Error


Recommended Posts

Hey anyone know the fix for this syntax error? I don't know where the extra bracket goes nor the extra bracket to remove.

Error [mod0000_mergedfiles]game\gui\menus\mapmenu.ws(8): Found unexpected '}'
Error [mod0000_mergedfiles]game\gui\menus\mapmenu.ws(24): Unexpected end of file found after '{' at line 14


public function UpdateCurrentQuestData( onHighlight : bool ) : void // -= WMK:modAQOOM =-
// -= WMK:modAQOOM =-
if (WmkGetMapMenuInstance()) {
WmkGetMapMenuInstance().UpdateEntityPins(this, m_shownArea, mapPinInstances, flashArray);
}
// -= WMK:modAQOOM =-
}
// -= WMK:modAQOOM =-
public var ALL_QUEST_OBJECTIVES_ON_MAP___ANOTHER_MOD_CHANGES_MAPMENU_WS_FILE___USE_SCRIPT_MERGER_TO_DETECT_AND_FIX_THE_CONFLICT : int;
event OnWmkMapPinUsed(id : name, wmkTag : name, wmkData : int, areaId : int, isFastTravel : bool)
{
if (!isFastTravel) {
if (WmkGetMapMenuInstance()) {
return WmkGetMapMenuInstance().OnMapPinUsed(this, id, wmkTag, wmkData, areaId);
} else {
return false;
}
} else {
return OnStaticMapPinUsed(id, areaId);
}
// -= WMK:modAQOOM =-

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...