Difference between revisions of "04A6"
Jump to navigation
Jump to search
(Created page with "thumb|04A6 pickup in Vice City {{Icon|VC}} {{Icon|SA}} '''CREATE_<wbr>PROTECTION_<wbr>PICKUP''' <hr /> '''Description''' : Creates an asset revenue [[pickup]...") |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[File:04A6.png|thumb|04A6 pickup in Vice City]] | [[File:04A6.png|thumb|04A6 pickup in Vice City]] | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | + | | command = CREATE_<wbr>PROTECTION_<wbr>PICKUP | |
− | + | | description = Creates an asset revenue [[pickup]] | |
− | + | | syntax1 = 04A6: [''var''] = create_asset_money_pickup_at [''flt1''] [''flt2''] [''flt3''] money [''int1''] rate [''int2''] | |
− | + | | p1t = [''flt1''] | |
− | + | | p1d = X-coordinate | |
− | + | | p2t = [''flt2''] | |
− | + | | p2d = Y-coordinate | |
− | + | | p3t = [''flt3''] | |
− | + | | p3d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]] + 0.5 units) | |
− | + | | p4t = [''int1''] | |
− | + | | p4d = Revenue limit | |
− | + | | p5t = [''int2''] | |
− | + | | p5d = Revenue rate | |
− | + | | p6t = [''var''] | |
− | + | | p6d = Variable to store the handle of the pickup | |
− | + | }} | |
− | |||
− | This opcode creates a [[0213#Pickup types|type 16]] asset revenue pickup. It uses the <code>bigdollar</code> | + | This opcode creates a [[0213#Pickup types|type 16]] asset revenue pickup. It uses a model that [[MatchModelString|matches the name <code>bigdollar</code>]]. Unlike other pickups, pickups of this type do not disappear when the player character walks over them. Money, which is displayed above the pickup, rises up to the set revenue limit and can be collected by walking through the pickup. The larger the revenue rate value, the faster the money rises. The pickup does not allow collection or display a value if there is less than $10 revenue. The money pauses from rising if the player character is within 10 units of the pickup. This pickup is generally used for businesses involved in protection rackets. |
== Keywords == | == Keywords == | ||
create, protection, asset, money, cash, revenue, pickup | create, protection, asset, money, cash, revenue, pickup | ||
− | |||
− |
Latest revision as of 16:07, 2 December 2016
- Description
- Creates an asset revenue pickup
- Syntax
- 04A6: [var] = create_asset_money_pickup_at [flt1] [flt2] [flt3] money [int1] rate [int2]
- Parameter
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z + 0.5 units)
- [int1]
- Revenue limit
- [int2]
- Revenue rate
- [var]
- Variable to store the handle of the pickup
This opcode creates a type 16 asset revenue pickup. It uses a model that matches the name bigdollar
. Unlike other pickups, pickups of this type do not disappear when the player character walks over them. Money, which is displayed above the pickup, rises up to the set revenue limit and can be collected by walking through the pickup. The larger the revenue rate value, the faster the money rises. The pickup does not allow collection or display a value if there is less than $10 revenue. The money pauses from rising if the player character is within 10 units of the pickup. This pickup is generally used for businesses involved in protection rackets.
Keywords
create, protection, asset, money, cash, revenue, pickup