1. Create a new mission, place a soldier and save it.
2. Open the mission.sqm. Class Mission should look like this:
```
class Mission
{
class Intel
{
//....
};
class Entities
{
items=1;
class Item0
{
dataType="Group";
side="West";
class Entities
{
items=1;
class Item0
{
dataType="Object";
class PositionInfo
{
position[]={3987.0815,5.0014391,4180.2354};
};
side="West";
flags=7;
class Attributes
{
isPlayer=1;
};
id=9;
type="B_W_Crew_F";
};
};
class Attributes
{
};
id=8;
};
};
};
```
3. Disable Stamina for the soldier; -> Attributes -> Special states -> Stamina and save the mission
4. Check the mission.sqm again. A new entry was added
```
class Attribute2
{
property="enableStamina";
expression="_this enablestamina _value;";
class Value
{
class data
{
class type
{
type[]=
{
"BOOL"
};
};
value=0;
};
};
};
```
5. Reset the stamina attribute back to it's default value and save the mission.sqm.
6. Open the mission.sqm. The attribute code is still there, but with value=1; now.