mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 23:26:50 +02:00
more namechanges in JS scripts
This commit is contained in:
parent
29a52bf0ba
commit
e763c055b3
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
});
|
||||
|
|
|
@ -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++;
|
||||
|
|
|
@ -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)
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue