DCS func addStaticObject: Difference between revisions
From DCS World Wiki - Hoggitworld.com
Gillogical (talk | contribs) No edit summary |
No edit summary |
||
| Line 74: | Line 74: | ||
unitId number unitId | unitId number unitId | ||
heading number heading of the object in radians | heading number heading of the object in radians | ||
linkOffset boolean for whether or not the static object will be attached to a ship. | |||
linkUnit number unitId corresponding to the ship that the offset is based off of. | |||
offsets table defining the position and orientation of the static object relative to the center of the offset unit. Table is simply in the format: {x, y, angle} | |||
Cargo Object values | Cargo Object values | ||
