Difference between revisions of "029B"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
[[File:0107 029B.jpg|thumb|300px|The left bus sign was created using 0107 while the right was created using 029B, both at ground z.]] | [[File:0107 029B.jpg|thumb|300px|The left bus sign was created using 0107 while the right was created using 029B, both at ground z.]] | ||
− | {{Icon| | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = CREATE_<wbr>OBJECT_<wbr>NO_<wbr>OFFSET | |
− | + | | description = Creates an object without offset at the coordinates point | |
− | + | | syntax1 = 029B: [''var''] = init_object [''int''] at [''flt1''] [''flt2''] [''flt3''] | |
− | + | | p1t = [''var''] | |
− | + | | p1d = Variable to store the handle of the object | |
− | + | | p2t = [''int''] | |
− | + | | p2d = Model ID number as defined in the [[IDE]] file; also acceptable is model's [[DFF]] name with a hash character | |
− | + | | p3t = [''flt1''] | |
− | + | | p3d = X-coordinate | |
− | + | | p4t = [''flt2''] | |
− | + | | p4d = Y-coordinate | |
− | + | | p5t = [''flt3''] | |
− | + | | p5d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) | |
− | + | }} | |
− | |||
This opcode behaves similarly to opcode [[0107]] except the z-coordinate uses the center rather than the base of the object's bounding box. | This opcode behaves similarly to opcode [[0107]] except the z-coordinate uses the center rather than the base of the object's bounding box. | ||
Line 25: | Line 24: | ||
== See also == | == See also == | ||
* {{Icon|t}} [[0107]], creates an object with offset | * {{Icon|t}} [[0107]], creates an object with offset | ||
− | |||
− |
Revision as of 02:19, 11 February 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