Printable Version of Topic

Click here to view this topic in its original format

Armed Assault Info Forums _ Mission Editing & Scripting _ Description.ext error when attempting to add respawns.

Posted by: BlitZWTF Nov 7 2011, 20:36

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;

Posted by: D@V£ Nov 7 2011, 23:15

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"

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)