Difference between revisions of "DCS func addStaticObject"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
(2 intermediate revisions by 2 users 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 86: | Line 89: | ||
[[DCS_singleton_coalition|'''Coalition Functions:''']] {{ListOfCoalitionFuncs}} | [[DCS_singleton_coalition|'''Coalition Functions:''']] {{ListOfCoalitionFuncs}} | ||
− | |notes= Required entries differ from object to object. | + | |notes= Required entries differ from object to object. |
+ | |||
+ | FARPs are spawned using [[DCS func addGroup|coalition.addGroup]] | ||
}} | }} | ||
[[Category:Singleton Functions|addStaticObject]] | [[Category:Singleton Functions|addStaticObject]] | ||
+ | [[Category:Game Patch 1.2.4|addStaticObject]] |