Difference between revisions of "029B"
Jump to navigation
Jump to search
(Created page with "thumb|300px|The left bus sign was created using 0107 while the right was created using 029B, both at ground z. {{Icon|trilogy}} '''CREATE_OBJECT_NO_OFFS...") |
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|trilogy}} ''' | + | {{Icon|trilogy}} '''CREATE_<wbr>OBJECT_<wbr>NO_<wbr>OFFSET''' |
<hr /> | <hr /> | ||
'''Description''' | '''Description''' | ||
− | : Creates an object without offset at | + | : Creates an object without offset at the coordinates point |
'''Syntax''' | '''Syntax''' | ||
: 029B: [''var''] = init_object [''int''] at [''flt1''] [''flt2''] [''flt3''] | : 029B: [''var''] = init_object [''int''] at [''flt1''] [''flt2''] [''flt3''] | ||
Line 18: | Line 18: | ||
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]]) | :: 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 | + | 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 == | == Keywords == | ||
− | create, spawn, object, model, no offset | + | init, create, spawn, object, model, no offset |
+ | |||
+ | == See also == | ||
+ | * {{Icon|t}} [[0107]], creates an object with offset | ||
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 19:04, 7 December 2015
Description
- Creates an object without offset at the coordinates point
Syntax
- 029B: [var] = init_object [int] at [flt1] [flt2] [flt3]
Parameter
- [var]
- Variable to store the handle of the object
- [int]
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or -100.0 for 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.
Keywords
init, create, spawn, object, model, no offset
See also
- 0107, creates an object with offset