Template:ObjectInfo: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>This template is used on Object and related pages. <hr></noinclude> * Objects only represent models '''created by a script''', they do not represent models that are part of the GTA's default landscape (these belong to the "building pool"). * There is a distinction in GTA: San Andreas between static and dynamic models. The alternative createBuilding function allows you to create objects that are non-dynamic. * The createObject function can also crea...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is used on [[Object]] and related pages. <hr></noinclude>
<noinclude>This template is used on [[Object]] and related pages. <hr></noinclude>
* Objects only represent models '''created by a script''', they do not represent models that are part of the GTA's default landscape (these belong to the "building pool").
== [[File:Dialog-warning.svg|48px]] Important info about [[Object|Objects]] ==
* There is a distinction in GTA: San Andreas between static and dynamic models. The alternative [[createBuilding]] function allows you to create objects that are non-dynamic.
* Objects only represent models '''created by a script''', they do not represent objects that are part of GTA's default landscape (these belong to the "building pool").
* The [[createObject]] function can also create non-dynamic objects, but for optimization reasons '''it is recommended to spawn [[building|Buildings]] when creating static objects in the [[Dimension]] 0''' (because they don't use the MTA object-streaming system).
 
* There is a distinction in GTA: San Andreas between static and dynamic models. The alternative [[createBuilding]] function allows you to create objects that are non-dynamic, utilizing the GTA Building pool, which makes better use of memory.
 
* The [[createObject]] function can also create non-dynamic objects, but for optimization reasons '''it is recommended to spawn [[building|Buildings]] when creating static objects that don't rely on the [[Dimension]] system''' (buildings don't use the same MTA object-streaming system).

Latest revision as of 13:39, 5 January 2025

This template is used on Object and related pages.


Dialog-warning.svg Important info about Objects

  • Objects only represent models created by a script, they do not represent objects that are part of GTA's default landscape (these belong to the "building pool").
  • There is a distinction in GTA: San Andreas between static and dynamic models. The alternative createBuilding function allows you to create objects that are non-dynamic, utilizing the GTA Building pool, which makes better use of memory.
  • The createObject function can also create non-dynamic objects, but for optimization reasons it is recommended to spawn Buildings when creating static objects that don't rely on the Dimension system (buildings don't use the same MTA object-streaming system).