DataCost (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
Promoting the header!
>MrNicNac
Bad markup. Fixed.
Line 1: Line 1:
{{Property
<onlyinclude>{{Property
|name=DataCost
|name=DataCost
|object=Instance
|object=Instance
|description=The amount of memory an object would take up when using [[SaveInstance]] on it.
|description=The amount of memory an object would take up when using [[SaveInstance]] on it.
|property=[[Integer]] ''dataCost''
|property=[[Integer]] ''dataCost''
}}<noinclude>
}}</onlyinclude>
 
{{clear floats}}
== Usage ==
== Usage ==
The DataCost of an object is its own DataCost combined with the DataCosts of all its children.  If the DataCosts of all the instances saved to a certain player threaten to exceed 45,000, it will not be able to save.
The DataCost of an object is its own DataCost combined with the DataCosts of all its children.  If the DataCosts of all the instances saved to a certain player threaten to exceed 45,000, it will not be able to save.
</noinclude>
</noinclude>

Revision as of 12:29, 13 April 2011

DataCost
Property Integer dataCost
Description The amount of memory an object would take up when using SaveInstance on it.
Member of Instance

Usage

The DataCost of an object is its own DataCost combined with the DataCosts of all its children. If the DataCosts of all the instances saved to a certain player threaten to exceed 45,000, it will not be able to save.