Difference between revisions of "0168"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 0168=2, %1d% %2d% | description = Sets a marker's size. | p1 = Any existing marker handle. | p2 = Marker size (integer). | game …')
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{OpCode
+
<div class="thumb tright"><div class="thumbinner" style="width:608px;">
| ini        = 0168=2, %1d%  %2d%
+
{| cellspacing="0"
| description = Sets a marker's size.
+
|-
| p1          = Any existing marker handle.
+
| class="thumbimage" | [[File:0168.png|300px]]
| p2          = Marker size (integer).  
+
| class="thumbimage" | [[File:0168-map.png|300px]]
| 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_marker [''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. The [[Main.scm|original script]] uses values between 1 and 3 but values between 0 and 65535 can be used. Legacy documentation uses the description "show on radar" for the opcode.
  
==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]] Creates a marker above a car.
 
*[[0187]] Creates a marker above an actor.
 
*[[0188]] Creates a marker above an object.
 
*[[0164]] Disables a marker.
 
 
 
==Keywords==
 
marker, size
 

Latest revision as of 02:06, 3 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_marker [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. The original script uses values between 1 and 3 but values between 0 and 65535 can be used. Legacy documentation uses the description "show on radar" for the opcode.

Keywords

blip, marker, size, scale