029B

From GTAMods Wiki
Revision as of 19:04, 7 December 2015 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search
The left bus sign was created using 0107 while the right was created using 029B, both at ground z.

GTA III Vice City San Andreas CREATE_OBJECT_NO_OFFSET


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]
Model ID number as defined in the IDE file; also acceptable is model's DFF name with a hash character
[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

  • GTA III Vice City San Andreas 0107, creates an object with offset