mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 00:02:21 +02:00
Remove unneeded comments in tutorial scripts
This commit is contained in:
parent
639911e11f
commit
d577493d5e
4 changed files with 0 additions and 12 deletions
|
@ -60,7 +60,6 @@ birdFirework2 = {
|
|||
"z": 0
|
||||
},
|
||||
"id": "{ba067084-8d0f-4eeb-a8a1-c6814527c1bb}",
|
||||
//"modelURL": "atp:/tutorial_models/statuebird4.fbx",
|
||||
"modelURL": "atp:/tutorial_models/bomb2.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"position": {
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
var self = this;
|
||||
Script.setTimeout(function() {
|
||||
debug("Setting off fireworks");
|
||||
//var spinnerID = Utils.findEntity({ name: "tutorial/equip/spinner" }, 20);
|
||||
var spinnerID = "{dd13fcd5-616f-4749-ab28-2e1e8bc512e9}";
|
||||
Entities.callEntityMethod(spinnerID, "onLit");
|
||||
injector.stop();
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
Fuse.prototype = {
|
||||
onLit: function() {
|
||||
print("fuseCollider.js | Lit", this.entityID);
|
||||
//var fuseID = Utils.findEntity({ name: "tutorial/equip/fuse" }, 20);
|
||||
var fuseID = "{c8944a13-9acb-4d77-b1ee-851845e98357}"
|
||||
Entities.callEntityMethod(fuseID, "light");
|
||||
},
|
||||
|
|
|
@ -193,7 +193,6 @@ function deleteEntitiesWithTag(tag) {
|
|||
}
|
||||
}
|
||||
function editEntitiesWithTag(tag, propertiesOrFn) {
|
||||
//var entityIDs = findEntitiesWithTag(tag);
|
||||
var entities = TUTORIAL_TAG_TO_ENTITY_IDS_MAP[tag];
|
||||
|
||||
debug("Editing tag: ", tag);
|
||||
|
@ -665,12 +664,6 @@ stepEquip.prototype = {
|
|||
this.currentPart = this.PART1;
|
||||
|
||||
function createLighter() {
|
||||
//var boxSpawnID = findEntity({ name: GUN_SPAWN_NAME }, 10000);
|
||||
//if (!boxSpawnID) {
|
||||
//info("Error creating block, cannot find spawn");
|
||||
//return null;
|
||||
//}
|
||||
|
||||
var transform = {};
|
||||
|
||||
var boxSpawnProps = getEntityWithName(GUN_SPAWN_NAME);
|
||||
|
@ -855,8 +848,6 @@ stepTeleport.prototype = {
|
|||
Messages.sendLocalMessage('Hifi-Teleport-Disabler', 'none');
|
||||
|
||||
// Wait until touching teleport pad...
|
||||
//var padID = findEntity({ name: TELEPORT_PAD_NAME }, 100);
|
||||
//var padProps = Entities.getEntityProperties(padID, ["position", "dimensions"]);
|
||||
var padProps = getEntityWithName(TELEPORT_PAD_NAME);
|
||||
var xMin = padProps.position.x - padProps.dimensions.x / 2;
|
||||
var xMax = padProps.position.x + padProps.dimensions.x / 2;
|
||||
|
|
Loading…
Reference in a new issue