Jump to content

Mod Tool/Scripting: Difference between revisions

m
hard error on PPG when minimum value is too low
m (/cat)
m (hard error on PPG when minimum value is too low)
Line 910: Line 910:
  oPSet.AddParameter3 "ParamName", siInt2, , , , false, 0
  oPSet.AddParameter3 "ParamName", siInt2, , , , false, 0
  oPPGLayout.AddItem "ParamName", "Caption"
  oPPGLayout.AddItem "ParamName", "Caption"
If you try to set a value that is below the defined minimum, you will get this error text:
' ERROR : 2006-EDIT-SetValue - Unexpected failure.
' Syntax: PPGname.data, value
' SetValue "Turret.int1", "0"
' ERROR : Überlauf: 'setvalue' - [line ''N'']
German devs? I expected "overflow", not "Überlauf".




8,323

edits