FANDOM



addDustCloud(<sObjName>, <sDustCloudType>, <tPosition>, <tColor>, ?, <fSize>)
Description
Adds a Dust Cloud to a ".level" file. These obscure sensors and can be charged with ion beams.
Example
addDustCloud("polySurface1", "DustCloud_NoRes", {0.0, 0.0, 0.0}, {1, 1, 1, 1}, 0.0, 0.0)
Arguments
<sObjName>: the name of the dust cloud object.
Note: the name is for future use with SobGroup_AreAnySquadronsInsideDustCloud. If you add several dustclouds with the same name they are treated as a single dustcloud by this function.
<sDustCloudType>: the type of Dust Cloud. May be any of the following:
"DustCloud_0"
"DustCloud_NoRes"
"DustCloud_NoRes_M05"
"DustCloud_NoRes2"
"DustCloud_NoRes2_M05"
"DustCloud_NoRes3"
"DustCloud_NoRes3_M05"
"DustCloud_NoRes_NoCharge"
"DustCloud_Teal"
<tPosition>: a table containing the cloud's X, Z, and Y coordinates.
<tColor>: a table containing the cloud's red, green, and blue color values, as well as its opacity (alpha). Color values must be a float value between 0 and 1.
?: dunno.
<fSize>: the size of the cloud.
Notes
Dust Clouds must be added to the DetermChunk() portion of the ".level" file.
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.