mirror of
https://github.com/overte-org/overte.git
synced 2025-05-08 03:48:56 +02:00
14 lines
298 B
JavaScript
14 lines
298 B
JavaScript
var light = Entities.addEntity({
|
|
type: "light",
|
|
position: {x: 544, y: 498.9, z: 506.7},
|
|
intensity: 10,
|
|
dimensions: {x: 10, y: 10, z: 10},
|
|
color: {red: 200, green : 10, blue: 200}
|
|
});
|
|
|
|
|
|
function cleanup() {
|
|
Entities.deleteEntity(light);
|
|
}
|
|
|
|
Script.scriptEnding.connect(cleanup);
|