Open
Description
It also doesn't show in Developer->Script log
The error is:
[WARNING] [overte.scriptengine.v8] JS function call failed
(function () {
var followingEntityID = blshaj;
this.clickDownOnEntity = function (entityID, mouseEvent) {
if (!followingEntityID) {
followingEntityID = entityID;
Entities.editEntity(entityID, { color: { red: 0, green: 255, blue: 255 } });
}
};
this.mousePressOnEntity = function (entityID, mouseEvent) {
if (followingEntityID === entityID) {
var followedPosition = Entities.getEntityProperties(entityID, 'position').position;
var blsha1Position = Entities.getEntityProperties(this.entityID, 'position').position;
var newPosition = Vec3.mix(blahajPosition, followedPosition, 0.1); // Smoothing factor
Entities.editEntity(this.entityID, { position: newPosition });
}
};
this.hoverLeaveEntity = function (entityID, mouseEvent) {
if (followingEntityID === entityID) {
followingEntityID = null;
Entities.editEntity(entityID, { color: { red: 255, green: 255, blue: 0 } });
}
};
})