Difference between revisions of "0168"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
__NOTOC__
+
<div class="thumb tright"><div class="thumbinner" style="width:608px;">
{{OpCode
+
{| cellspacing="0"
| ini        = 0168=2, %1d%  %2d%
+
|-
| description = Sets a marker's size.
+
| class="thumbimage" | [[File:0168.png|300px]]
| p1          = Any existing marker handle.
+
| class="thumbimage" | [[File:0168-map.png|300px]]
| p2          = Marker size (integer).  
+
|-
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| style="padding: 0;" | <div class="thumbcaption">From right to left, blips 50 meters apart are scaled from 1 to 5.</div>
}}
+
| style="padding: 0;" | <div class="thumbcaption">The same blips but from left to right are seen in the pause map at maximum zoom.</div>
 +
|}
 +
</div></div>
 +
{{Icon|t}} '''CHANGE_<wbr>BLIP_<wbr>SCALE'''
 +
<hr />
 +
'''Description'''
 +
: Scales the specified [[blip]]
 +
'''Syntax'''
 +
: 0168: set_blip [''blip handle''] size [''int'']
 +
'''Parameter'''
 +
: [''blip handle'']
 +
:: The handle of the blip
 +
: [''int'']
 +
:: Size of blip
  
This opcode sets a marker's size.
+
This opcode changes the scale of the specified blip. It has no effect on blips that use sprites. All opcodes that can create a blip defaults the scale to 3.
  
==Sanny Builder Example==
+
== Keywords ==
 +
blip, marker, size, scale
  
<source lang="scm">0168: set_marker 5@ size 2</source>
+
[[Category:OpCodes]]
 
 
==Note==
 
 
 
Default size = 3
 
 
 
In Sanny Builder, this opcode is equivalent to the command '''Marker.SetIconSize'''.
 
Example: <source lang="scm">Marker.SetIconSize(0@, 3)</source>
 
 
 
==See also==
 
*[[0186]] &ndash; Creates a marker above a car.
 
*[[0187]] &ndash; Creates a marker above an actor.
 
*[[0188]] &ndash; Creates a marker above an object.
 
*[[0164]] &ndash; Disables a marker.
 
 
 
==Keywords==
 
marker, size
 

Revision as of 08:36, 2 June 2015

0168.png 0168-map.png
From right to left, blips 50 meters apart are scaled from 1 to 5.
The same blips but from left to right are seen in the pause map at maximum zoom.

GTA III Vice City San Andreas CHANGE_BLIP_SCALE


Description

Scales the specified blip

Syntax

0168: set_blip [blip handle] size [int]

Parameter

[blip handle]
The handle of the blip
[int]
Size of blip

This opcode changes the scale of the specified blip. It has no effect on blips that use sprites. All opcodes that can create a blip defaults the scale to 3.

Keywords

blip, marker, size, scale