Difference between revisions of "0517"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
| description = Creates a locked property [[pickup]] | | description = Creates a locked property [[pickup]] | ||
| syntax1 = 0517: [''var''] = create_unavailable_asset_pickup '[''string'']' at [''flt1''] [''flt2''] [''flt3''] | | syntax1 = 0517: [''var''] = create_unavailable_asset_pickup '[''string'']' at [''flt1''] [''flt2''] [''flt3''] | ||
− | | p1t = ['' | + | | p1t = [''string''] |
− | | p1d | + | | p1d = [[GXT]] key |
− | + | | p2t = [''flt1''] | |
− | + | | p2d = X-coordinate | |
− | | | + | | p3t = [''flt2''] |
− | | | + | | p3d = Y-coordinate |
− | | | + | | p4t = [''flt3''] |
− | | | + | | p4d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]] + 0.5 units) |
− | | | + | | p5t = [''var''] |
− | | | + | | p5d = Variable to store the handle of the pickup |
}} | }} | ||
− | This opcode creates a [[0213#Pickup types|type 17]] locked property pickup. It uses the <code>property_locked</code> | + | This opcode creates a [[0213#Pickup types|type 17]] locked property pickup. It uses a model that [[MatchModelString|matches the name <code>property_locked</code>]]. Unlike other pickups, pickups of this type do not disappear when the player character walks over them. Walking over the pickup displays a [[Text#Help message|help message]] using the set GXT key. |
== Keywords == | == Keywords == | ||
create, locked, lock, property, unavailable, asset, pickup | create, locked, lock, property, unavailable, asset, pickup |
Latest revision as of 22:15, 2 December 2016
- Description
- Creates a locked property pickup
- Syntax
- 0517: [var] = create_unavailable_asset_pickup '[string]' at [flt1] [flt2] [flt3]
- Parameter
This opcode creates a type 17 locked property pickup. It uses a model that matches the name property_locked
. Unlike other pickups, pickups of this type do not disappear when the player character walks over them. Walking over the pickup displays a help message using the set GXT key.
Keywords
create, locked, lock, property, unavailable, asset, pickup