Interior::getInteriorAtCoordsWithType

From RAGE Multiplayer Wiki
Revision as of 21:27, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the interior ID representing the requested interior at that location (if found?). The supplied interior string is not the same as the one used to load the interior.

Use: INTERIOR::UNPIN_INTERIOR(INTERIOR::GET_INTERIOR_AT_COORDS_WITH_TYPE(x, y, z, interior))

Interior types include: 'V_Michael', 'V_Franklins', 'V_Franklinshouse', etc.. you can find them in the scripts.

Not a very useful native as you could just use GET_INTERIOR_AT_COORDS instead and get the same result, without even having to specify the interior type.

Syntax

mp.game.interior.getInteriorAtCoordsWithType(x, y, z, interiorType);

Required Arguments

  • x: float
  • y: float
  • z: float
  • interiorType: String

Return value

  • int

Example

// todo

See also