Difference between revisions of "PurgeCellBuffers"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(OBSE and console use - special note)
 
imported>DragoonWraith
(explanation of the strangeness of PCB)
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  PurgeCellBuffers
  PurgeCellBuffers
PCB


This function 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.
This function 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.


It was added to Oblivion.exe in the first official patch, v1.1.511, but was never added to TESConstructionSet.exe, which had the effect of making it a function that could only be called from the console, as the Construction Set would not recognize it has a valid function and would not compile a script using it.
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 [[:Category: Console Function|Console Function]].


The [[:Category: Oblivion Script Extender|Oblivion Script Extender]] allows scripters to use the function, but unlike all other functions for OBSE, using this function does '''not''' require OBSE, and so plug-ins can be made with OBSE that use PCB and used by those who do not have OBSE.
The [[:Category: Oblivion Script Extender|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.


Unlike other OBSE functions that mimic console functions, this function was designed to be used from a script, and now can be.
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.
[[Category: Functions]]
[[Category: Functions (CS 1.2)]]
[[Category: Functions (OBSE)]]
[[Category: Console Functions]]
[[Category: Console Functions]]
[[Category: OBSE Functions]]
[[Category: OBSE Console Functions]]

Revision as of 20:42, 15 August 2007

Syntax:

PurgeCellBuffers
PCB

This function 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.

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.