Difference between revisions of "0959"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|SA}} |
− | | description = Creates a horseshoe pickup | + | | command = CREATE_HORSESHOE_PICKUP |
− | | | + | | description = Creates a horseshoe [[pickup]] |
− | | | + | | syntax1 = 0959: [''var''] = create_horseshoe_at [''flt1''] [''flt2''] [''flt3''] |
− | | | + | | p1t = [''flt1''] |
− | | | + | | p1d = X-coordinate |
− | | | + | | p2t = [''flt2''] |
+ | | p2d = Y-coordinate | ||
+ | | p3t = [''flt3''] | ||
+ | | p3d = Z-coordinate | ||
+ | | p4t = [''var''] | ||
+ | | p4d = Variable to store the handle of the pickup | ||
}} | }} | ||
− | |||
− | |||
− | + | This opcode creates a horseshoe pickup. Like most pickups, it spins and can be "picked up" by walking through it. Horseshoes are recorded in stat 241. The total amount of horseshoes depends on the amount of pickups you have placed. Picking up a horseshoe gives you $100. Picking up all the horseshoes will give you $10,000. The pickup uses the model cj_horse_shoe.dff to create the pickup so the model has to be at least defined somewhere in an [[IDE]] file for the opcode to work. | |
− | |||
− | |||
− | The | ||
− | ==Keywords== | + | == Keywords == |
create, horseshoe, pickup, cj_horse_shoe | create, horseshoe, pickup, cj_horse_shoe |
Latest revision as of 00:54, 20 November 2016
- Description
- Creates a horseshoe pickup
- Syntax
- 0959: [var] = create_horseshoe_at [flt1] [flt2] [flt3]
- Parameter
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate
- [var]
- Variable to store the handle of the pickup
This opcode creates a horseshoe pickup. Like most pickups, it spins and can be "picked up" by walking through it. Horseshoes are recorded in stat 241. The total amount of horseshoes depends on the amount of pickups you have placed. Picking up a horseshoe gives you $100. Picking up all the horseshoes will give you $10,000. The pickup uses the model cj_horse_shoe.dff to create the pickup so the model has to be at least defined somewhere in an IDE file for the opcode to work.
Keywords
create, horseshoe, pickup, cj_horse_shoe