Template:ObjectInfo: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 2: Line 2:
== Important information about [[Object|objects]]: ==
== Important information about [[Object|objects]]: ==
* 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").
* 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.
* 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 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).
* 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).

Latest revision as of 11:44, 14 October 2024

This template is used on Object and related pages.


Important information about objects:

  • 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 create non-dynamic objects, but for optimization reasons it is recommended to spawn Buildings when creating static objects in the Dimension 0 (because they don't use the MTA object-streaming system).