DCS func addStaticObject: Difference between revisions
From DCS World Wiki - Hoggitworld.com
Gillogical (talk | contribs) No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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 | ||
| Line 92: | Line 95: | ||
}} | }} | ||
[[Category:Singleton Functions|addStaticObject]] | [[Category:Singleton Functions|addStaticObject]] | ||
[[Category:Game Patch 1.2.4|addStaticObject]] | |||
