Template:ObjectInfo: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
(One intermediate revision 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>
== Important information about [[Object|objects]]: ==
== [[File:Dialog-warning.svg|48px]] Important info 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 that don't rely on the [[Dimension]] system''' (buildings don't use the same MTA object-streaming system).

Revision as of 13:51, 22 October 2024

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 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 that don't rely on the Dimension system (buildings don't use the same MTA object-streaming system).