PurgeCellBuffers

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Syntax:

PurgeCellBuffers
PCB

Clears any loaded textures or models from memory that are outside the range loaded by Oblivion. Doing so clears up wasted memory and can smooth the game.

Notes[edit | edit source]

  • It was added to Oblivion.exe in the first official patch, v1.1.511, but the Construction Set v1.1 was never released, and therefore the CS v1.0 would not recognize the function and refused to compile scripts using it, making it a de facto Console Function.
  • The Oblivion Script Extender added it to the CS's list of accepted functions, allowing scripters to use the function. Unlike all other functions added by OBSE, scripts using this function could be run by Oblivion without OBSE, because Oblivion v1.1.511 recognized the command.
After the release of The Shivering Isles expansion, Bethesda released the Construction Set v1.2, which included the function.
Therefore, any version of the Construction Set may use this function if OBSE is used, and the Construction Set v1.2 may use this function without OBSE. Oblivion v1.1.511 or greater is all that is required to run scripts using the function.