Macaw OS C reference

Function levelmoveentity

#include <macawlevel.h>
void levelmoveentity(int level, int e, double x, double y, double z);

Moves an entity to a new place.

Parameters

levelint
The level.
eint
Which entity, from 0, in the level's order.
xdouble
X of the new place.
ydouble
Y of the new place.
zdouble
Z of the new place.

In Building from code: entities and settings, with leveladdentity, levelremoveentity, levelentitysetnum, levelentitysettext, levelentitysetbool, levelsetting, levelsettingtext, levelsetsetting, levelsetsettingtext.