C: MO - Using Create Explosion to Simulate Artillery

Channel:
Subscribers:
37,900
Published on ● Video Link: https://www.youtube.com/watch?v=EIPH-VUQcUU



Duration: 0:00
268 views
12


In this video, we show you how you can use some lua for explosive effect. The code:

local lon_max, lon_min = 55.5, 55.4
local lat_max, lat_min = -4.5, -4.9
for x = 1, 3 do

local rand_lat = math.random() * (lat_max - lat_min) + lat_min
local rand_lon = math.random() * (lon_max - lon_min) + lon_min
local works = ScenEdit_AddExplosion({latitude=rand_lat,longitude=rand_lon,warheadid=123})
total_shells = total_shells + 1
print(works)
end







Other Statistics

Command: Modern Operations Statistics For P Gatcomb

P Gatcomb currently has 619,025 views spread across 269 videos for Command: Modern Operations. His channel published over 3 days worth of content for the game, or 18.61% of the total watchable video for Command: Modern Operations on P Gatcomb's YouTube channel.