Limited support This feature is only present in Portal 2: Community Edition. Function: RandomInt int RandomInt(int iMinVal, int iMaxVal)