Difference between revisions of "029B"
Jump to navigation
Jump to search
m |
|||
Line 5: | Line 5: | ||
| description = Creates an object without offset at the coordinates point | | description = Creates an object without offset at the coordinates point | ||
| syntax1 = 029B: [''var''] = init_object [''int''] at [''flt1''] [''flt2''] [''flt3''] | | syntax1 = 029B: [''var''] = init_object [''int''] at [''flt1''] [''flt2''] [''flt3''] | ||
− | | p1t = ['' | + | | p1t = [''int''] |
− | | p1d | + | | p1d = Model ID number as defined in the [[IDE]] file; also acceptable is model's [[DFF]] name with a hash character |
− | + | | p2t = [''flt1''] | |
− | + | | p2d = X-coordinate | |
− | | | + | | p3t = [''flt2''] |
− | | | + | | p3d = Y-coordinate |
− | | | + | | p4t = [''flt3''] |
− | | | + | | p4d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) |
− | | | + | | p5t = [''var''] |
− | | | + | | p5d = Variable to store the handle of the object |
}} | }} | ||
Latest revision as of 00:24, 20 November 2016
- Description
- Creates an object without offset at the coordinates point
- Syntax
- 029B: [var] = init_object [int] at [flt1] [flt2] [flt3]
- Parameter
This opcode behaves similarly to opcode 0107 except the z-coordinate uses the center rather than the base of the object's bounding box.
Keywords
init, create, spawn, object, model, no offset
See also
- 0107, creates an object with offset