Skip to content
User Avatar
#3275
Auto-translated
Navkratis
Good afternoon, the console displays the following error: (Script) ERROR: "=" expected
The script itself looks like this:

void GiveArtefact("Brem", 13, nBindToHero=0);

What is the error here?
I suspect that this script is written incorrectly.

GiveArtefact(heroname, artefactID, [bindToHero = 0]);
As I understand it, the 3rd parameter can be left blank altogether. But in your case, it's written as nBindToHero.