baton logging

This commit is contained in:
ericrius1 2016-03-18 16:08:51 -07:00
parent 2168a1a6ed
commit 4c8be15ca3

View file

@ -23,6 +23,7 @@
function startUpdate() {
print("EBL Start CLOCK Update")
//when the baton is claimed;
// print('trying to claim the object' + _entityID)
iOwn = true;
@ -32,7 +33,7 @@
function stopUpdateAndReclaim() {
//when the baton is released;
// print('i released the object ' + _entityID)
print('EBL I released the object ' + _entityID)
iOwn = false;
if (connected === true) {
connected = false;
@ -57,6 +58,7 @@
// One winner for each entity
if(Entities.canRez() && Entities.canAdjustLocks){
print("EBL I HAVE EDIT RIGHTS, SO SET UP BATON!");
baton = virtualBaton({
batonName: "io.highfidelity.cuckooClock:" + _this.entityID
});