Jump to content

Mod Tool/Scripting: Difference between revisions

m
no edit summary
m (added "dealing with different decimal marks" //change of plan: update #1 will ship with support for different decimal signs, would be just awkward otherwise)
mNo edit summary
Line 378: Line 378:


  if Mid(FormatNumber(0.1, 1, true, false, -2), 2, 1) = "," then
  if Mid(FormatNumber(0.1, 1, true, false, -2), 2, 1) = "," then
     posX = cdbl(replace(posX, ",", "."))
     posX = cdbl(replace(posX, ".", ","))
     posY = cdbl(replace(posY, ",", "."))
     posY = cdbl(replace(posY, ".", ","))
     posZ = cdbl(replace(posZ, ",", "."))
     posZ = cdbl(replace(posZ, ".", ","))
  end if
  end if


8,319

edits