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...") | |||
| (2 intermediate revisions by one other user not shown) | |||
| 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         = [''int''] | |
| − | + | | 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 | |
| − | + | }} | |
| − | |||
| − | 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 | ||
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 0107, creates an object with offset


