Blip::Blip: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
mNo edit summary
Line 3: Line 3:
==Parameters==
==Parameters==
*'''sprite''': {{RageType|Int}} ([[Blips#Blip_model|Blip sprites]])
*'''sprite''': {{RageType|Int}} ([[Blips#Blip_model|Blip sprites]])
*'''position''': {{RageType|Vector3}}
*'''name''': {{RageType|String}}
*'''name''': {{RageType|String}}
*'''scale''': {{RageType|Float}}
*'''scale''': {{RageType|Float}}
Line 8: Line 9:
*'''alpha''': {{RageType|Float}} [0.0:1.0]
*'''alpha''': {{RageType|Float}} [0.0:1.0]
*'''drawDistance''': {{RageType|Float}}
*'''drawDistance''': {{RageType|Float}}
*'''shortRange''': {{RageType|Float}}
*'''shortRange''': {{RageType|Boolean}}: Auto-hide on the minimap
*'''rotation''': {{RageType|Vector3}}
*'''rotation''': {{RageType|Vector3}}
*'''position''': {{RageType|Vector3}}
*'''dimension''': {{RageType|Int}}


==Syntax==
==Syntax==

Revision as of 10:52, 29 December 2017

Function: Creates a blip.

Parameters

  • sprite: Int (Blip sprites)
  • position: Vector3
  • name: String
  • scale: Float
  • color: Color ID (Blip colors)
  • alpha: Float [0.0:1.0]
  • drawDistance: Float
  • shortRange: Boolean: Auto-hide on the minimap
  • rotation: Vector3
  • dimension: Int

Syntax

mp.blips.new(sprite, position,
{
    name: name,
    scale: scale,
    color: color,
    alpha: alpha,
    drawDistance: drawDistance,
    shortRange: shortRange,
    rotation: rotation,
    dimension: dimension,
});

Example

// NEED TO BE DONE

See Also