using(ScriptAPI) { count = AddUShort("Count"); AddUShort("MapObjectID"); for(i=0; i