libprimis
libprimis copied to clipboard
Entity attribute ennumeration one indexed internally and zero indexed externally
The engine ennumerates its five attributes starting at one (e.attr1 e.attr2 e.attr3 e.attr4 e.attr5
) but other parts of the engine (including even the entattr
command to edit it) are zero-indexed.
This means that entattr 1 1
sets entity attribute e.attr2
to 1
, for example.