Interior: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
==See Also== | ==See Also== | ||
* [[Dimensions]] - A concept similar to Interiors but more flexible and not coupled to the interiors system. | * [[Dimensions]] - A concept similar to Interiors but more flexible and not coupled to the interiors system. | ||
[[Category:Scripting Concepts]] |
Revision as of 23:14, 8 October 2006
An interior in GTA is an area that isn't 'outside'. For example, inside houses, casinos, restaurants, shops etc. Players can not, by default, access these. You can use various scripting functions to move elements into these interiors. When you change the interior a player is in, they can only see the elements in that interior.
You can have up to 255 interiors, interior 0 being the first one and refering to the normal GTA world.
Uses
To allow a player to enter an interior, you should use the setElementInterior function on the player you wish to move. You can also use this function on other elements, for example to make a vehicle or object appear in the interior.
See Also
- Dimensions - A concept similar to Interiors but more flexible and not coupled to the interiors system.