Difference between revisions of "0168"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <div class="thumb tright"><div class="thumbinner" style="width:608px;"> | |
− | { | + | {| cellspacing="0" |
− | | | + | |- |
− | | | + | | class="thumbimage" | [[File:0168.png|300px]] |
− | | | + | | class="thumbimage" | [[File:0168-map.png|300px]] |
− | | | + | |- |
− | | | + | | 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 | + | 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. |
− | == | + | == Keywords == |
+ | blip, marker, size, scale | ||
− | + | [[Category:OpCodes]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 02:06, 3 June 2015
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