0518
Revision as of 17:45, 29 February 2016 by Spaceeinstein (talk | contribs)
CREATE_
- Description
- Creates a forsale property pickup
- Syntax
- 0518: [var] = create_available_asset_pickup '[string]' at [flt1] [flt2] [flt3] price [int]
- Parameter
This opcode creates a type 18 forsale property pickup. It uses the property_fsale
DFF model. Walking over the pickup displays a help message using the set GXT key. You can interact with it by pressing the Action button. If you have enough money and the mission flag is not set, money is subtracted from you and the pickup is picked up. If you do not have enough money, a help message with GXT key PROP_1
("You don't have enough cash for this property") is displayed. If the mission flag is set, a help message with GXT key PROP_2
("You cannot buy property whilst on a mission") is displayed.
Keywords
create, for, sale, forsale, property, available, asset, pickup