LuaAPI.wiki
changeset 1539 7c038e79eddf
parent 1538 1fa7f4048719
child 1568 bd6376af4de2
equal deleted inserted replaced
1538:1fa7f4048719 1539:7c038e79eddf
  1058 Examples:
  1058 Examples:
  1059 <code language="lua">
  1059 <code language="lua">
  1060 -- Simple explosion at (100, 50) with radius 50
  1060 -- Simple explosion at (100, 50) with radius 50
  1061 Explode(100, 50, 50)
  1061 Explode(100, 50, 50)
  1062 
  1062 
  1063 -- Simlpe explosion without sound
  1063 -- Simple explosion without sound
  1064 Explode(100, 50, 50, 0)
  1064 Explode(100, 50, 50, 0)
  1065 
  1065 
  1066 -- Fake explosion which only pushes gears but deals no damage to gears and terrain
  1066 -- Fake explosion which only pushes gears but deals no damage to gears and terrain
  1067 Explode(500, 1000, 50, EXPLAutoSound + EXPLNoDamage + EXPLDontDraw)
  1067 Explode(500, 1000, 50, EXPLAutoSound + EXPLNoDamage + EXPLDontDraw)
  1068 
  1068