Help - Search - Members - Calendar
Full Version: Description.ext error when attempting to add respawns.
Armed Assault Info Forums > English > ArmA II - Combined Operations > Mission Editing & Scripting
BlitZWTF
Hey all, i'm trying to learn to add a little more spice to my missions via the description.ext, but i keep getting an error.

Something along the lines of 'Line 1: /: encountered a '[' instead of a '{'

The only problem is, there is no [ in the file, can anyone help?

This is the description.ext contents.
CODE
// Respawn settings
respawn= 3;
respawndelay= 10;
respawnVehicleDelay = 20;
respawnDialog = 3;

// Ai adjustments
allowSubordinatesTakeWeapons = 1;
aiKills = 1;

// GPS
ShowGPS = 1;
D@V£
This:
CODE
respawnDialog = 3;

Is wrong. You'll want a boolean value there (0 or 1). I don't know if that's what causing the error, but that'd be my guess.

Also, since ArmA.2, GPS is handled as a weapon, so should be added to soldiers in the mission editor, like this:
CODE
This addWeapon "ItemGPS"
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.