IPB


Welcome Guest ( Log In | Register )

 Forum Rules ArmedAssault.info Forum Rules
 
Reply to this topicStart new topic
> Description.ext error when attempting to add respawns., Error occurs when attempting to add respawns.
BlitZWTF
post Nov 7 2011, 20:36
Post #1


New Member
*

Group: Members
Posts: 1
Joined: 7-November 11
Member No.: 9,308



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;
 
Quote Post
D@V£
post Nov 7 2011, 23:15
Post #2


Gee, I wish we had one of them doomsday machines.
Group Icon

Group: Moderators
Posts: 2,037
Joined: 13-November 06
From: Wales
Member No.: 155



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"


--------------------
The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you hate me love me secretly fear that Mark is watching you while you sleep. secretly wish that Mark is watching you while you sleep.
Site Issues Thread - Complain about site issues here. We might even fix them!
Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly".

QUOTE(Major Mike Shearer)
We can categorically state that we have not released man-eating badgers into the area.
QUOTE(Brace Belden)
A machine gun is like a woman, I donít understand it, Iím afraid of it, and one day Iíll accidentally be killed by one.
 
Quote Post

Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd April 2018 - 18:46