Method Object:SetInt16Value [-] [+]

Sets the data at the specified index to the given value, converted to a signed 16-bit integer.

Synopsis

Object:SetInt16Value( index, offset, value )

Arguments

number index

Valid numbers: integers from 0 to 65,535.

number offset

Should be 0 or 1.

Valid numbers: integers from 0 to 255.

number value

Valid numbers: integers from -32,767 to 32,767.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine