==== SetField/SetFieldFloat ====
Set the value of a field
=== Description ===
SetField( fieldno, value )
SetFieldFloat( fieldno, Float:value )
Set the integer or float value of a field and flag the value as changed.
Note that the Math logic for the field is continuously evaluated, so if the math logic results in a different value, it will immediately overwrite the value set by this command. To only set the field from script logic, leave the Math blank.
=== Parameters ===
| ''fieldno'' | Which field to fetch |
| ''value'' | Value to set the field to (integer for SetField, Float for SetFieldFloat) |
=== Return value ===
None
=== Example usage ===
new x;
SetField(4, 123);
// Field 4 is set to the value 123.
SetFieldFloat(4, 123.45);
// Field 4 is set to the value 123.45.