The class used:
```
class TestClassArray
{
autoptr TIntArray m_TestArray = new TIntArray;
}
```
The code used to see if it's working :
```
TestClassArray testArray = new TestClassArray;
GetGame().GetMission().OnEvent( ChatMessageEventTypeID, new ChatMessageEventParams( CCDirect, "", "testArray.m_TestArray.Count() : " + testArray.m_TestArray.Count(), "" ) );
bool success = EnScript.SetClassVar(testArray, "m_TestArray", 0, 40);
GetGame().GetMission().OnEvent( ChatMessageEventTypeID, new ChatMessageEventParams( CCDirect, "", "success : " + success, "" ) );
bool success2 = EnScript.SetClassVar(testArray, "m_TestArray", 1, 60);
GetGame().GetMission().OnEvent( ChatMessageEventTypeID, new ChatMessageEventParams( CCDirect, "", "success2 : " + success2, "" ) );
GetGame().GetMission().OnEvent( ChatMessageEventTypeID, new ChatMessageEventParams( CCDirect, "", "testArray.m_TestArray.Count() : " + testArray.m_TestArray.Count(), "" ) );
```
{F1805195}
This is actually what is printing, it should print success: true for the two success and have a higher count in the array after that.