31 lines
No EOL
790 B
JavaScript
31 lines
No EOL
790 B
JavaScript
///
|
|
/// blimpZone.js
|
|
/// A script to ground people in the flying blimp
|
|
///
|
|
/// Author: Elisa Lupin-Jimenez
|
|
/// Copyright High Fidelity 2017
|
|
///
|
|
/// Licensed under the Apache 2.0 License
|
|
/// See accompanying license file or http://apache.org/
|
|
///
|
|
/// All assets are under CC Attribution Non-Commerical
|
|
/// http://creativecommons.org/licenses/
|
|
///
|
|
|
|
(function() {
|
|
|
|
print("loading blimpZone.js");
|
|
|
|
this.enterEntity = function(entityID) {
|
|
print(MyAvatar.displayName + " has entered blimp");
|
|
MyAvatar.setParentID(entityID);
|
|
//"{ade56c41-67d7-470b-9b1b-98282c8920eb}"
|
|
};
|
|
|
|
this.leaveEntity = function(entityID) {
|
|
print(MyAvatar.displayName + " has exited blimp");
|
|
MyAvatar.setParentID("Uuid.null");
|
|
};
|
|
|
|
|
|
}) |