[0.15.25] surface.create_entity{variation=...} zero based
Posted: Fri Jun 30, 2017 2:47 pm
Hi,
if a entity is created with variation is started at 0. Changing it later with variation is started at 1.
Additionally one is able to assign values from 0 to 255 (inclusive) to variation in create_entity, but values from 0 to 65535 (inclusive) to graphics_variation.
Kind regards,
Gerhard
if a entity is created with
Code: Select all
local entity = surface.create_entity{variation=...}
Code: Select all
entity.graphics_variation=...
Additionally one is able to assign values from 0 to 255 (inclusive) to variation in create_entity, but values from 0 to 65535 (inclusive) to graphics_variation.
Kind regards,
Gerhard