Difference between revisions of "0517"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "thumb|0517 pickup in Vice City {{Icon|VC}} {{Icon|SA}} '''CREATE_<wbr>LOCKED_<wbr>PROPERTY_<wbr>PICKUP''' <hr /> '''Description''' : Creates a locked propert...")
 
m
Line 1: Line 1:
 
[[File:0517.png|thumb|0517 pickup in Vice City]]
 
[[File:0517.png|thumb|0517 pickup in Vice City]]
{{Icon|VC}} {{Icon|SA}} '''CREATE_<wbr>LOCKED_<wbr>PROPERTY_<wbr>PICKUP'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = CREATE_<wbr>LOCKED_<wbr>PROPERTY_<wbr>PICKUP
: Creates a locked property [[pickup]]
+
| description = Creates a locked property [[pickup]]
'''Syntax'''
+
| syntax1    = 0517: [''var''] = create_unavailable_asset_pickup '[''string'']' at [''flt1''] [''flt2''] [''flt3'']
: 0517: [''var''] = create_unavailable_asset_pickup '[''string'']' at [''flt1''] [''flt2''] [''flt3'']
+
| p1t        = [''var'']
'''Parameter'''
+
| p1d        = Variable to store the handle of the pickup
: [''var'']
+
| p2t        = [''string'']
:: Variable to store the handle of the pickup
+
| p2d        = [[GXT]] key
: [''string'']
+
| p3t        = [''flt1'']
:: [[GXT]] string
+
| p3d        = X-coordinate
: [''flt1'']
+
| p4t        = [''flt2'']
:: X-coordinate
+
| p4d        = Y-coordinate
: [''flt2'']
+
| p5t        = [''flt3'']
:: Y-coordinate
+
| p5d        = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]] + 0.5 units)
: [''flt3'']
+
}}
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]] + 0.5 units)
 
  
This opcode creates a [[0213#Pickup types|type 17]] locked property pickup. It uses the <code>property_locked</code> [[DFF]] model. Unlike other pickups, pickups of this type do not disappear when the player character walks over them. Walking over the pickup displays a [[03E5|help message]] using the set GXT string.
+
This opcode creates a [[0213#Pickup types|type 17]] locked property pickup. It uses the <code>property_locked</code> [[DFF]] model. 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
 
[[Category:OpCodes]]
 

Revision as of 19:13, 29 February 2016

0517 pickup in Vice City

Vice City San Andreas CREATE_LOCKED_PROPERTY_PICKUP


Description
Creates a locked property pickup
Syntax
0517: [var] = create_unavailable_asset_pickup '[string]' at [flt1] [flt2] [flt3]
Parameter
[var]
Variable to store the handle of the pickup
[string]
GXT key
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z + 0.5 units)

This opcode creates a type 17 locked property pickup. It uses the property_locked DFF model. 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