more namechanges in JS scripts

This commit is contained in:
Andrew Meadows 2016-01-14 09:38:18 -08:00
parent 29a52bf0ba
commit e763c055b3
3 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,7 @@ function fire(side, value) {
Script.setTimeout(function() {
createEntityHitEffect(intersection.intersection);
if (shootAnything && intersection.properties.dynamic === 1) {
// Any entity with collisions will move can be shot
// Any dynamic entity can be shot
Entities.editEntity(intersection.entityID, {
velocity: Vec3.multiply(shotDirection, GUN_FORCE)
});

View file

@ -201,7 +201,7 @@ EntityPropertyDialogBox = (function () {
index++;
array.push({ label: "Ignore for Collisions:", type: "checkbox", value: properties.ignoreForCollisions });
index++;
array.push({ label: "Collisions Will Move:", type: "checkbox", value: properties.dynamic });
array.push({ label: "Dynamic:", type: "checkbox", value: properties.dynamic });
index++;
array.push({ label: "Collision Sound URL:", value: properties.collisionSoundURL });
index++;

View file

@ -154,7 +154,7 @@
}, randFloat(10, 200));
}
if (intersection.properties.dynamic === 1) {
// Any entity with collisions will move can be shot
// Any dynaic entity can be shot
Entities.editEntity(intersection.entityID, {
velocity: Vec3.multiply(this.firingDirection, this.bulletForce)
});