if (this.parentEntity === data.entity) { console.log('my entity loaded :)'); } else { return; } this.enemies = []; var particle = R3.EntityManager.Instance.findComponentById('ks1yk4yi1n'); particle.instance.visible = false; /** * Min and max spawn time is in seconds */ R3.D3.CustomCode.MIN_SPAWN_TIME = 1; R3.D3.CustomCode.MAX_SPAWN_TIME = 4; /** * Tell all our custom code components that we loaded */ this.beforeRender = R3.EntityManager.Instance.findComponentById('oh07330eg6'); this.beforeRender.entityLoaded = this; this.mouseUp = R3.EntityManager.Instance.findComponentById('jujvqjffqw'); this.mouseUp.entityLoaded = this; this.mouseDown = R3.EntityManager.Instance.findComponentById('56if6ltmvm'); this.mouseDown.entityLoaded = this; this.mouseMove = R3.EntityManager.Instance.findComponentById('0krv8dcow2'); this.mouseMove.entityLoaded = this; /** * Don't plant any trees for Olcayto */ //@ sourceURL=entityLoaded.js