-- body
if self.ai == nil then
return;
end
local map = parent.maps["map13"];
if map == nil then
release_print("111111*******");
end
local node = map.AniNode["tree"];
if node == nil then
release_print("*******");
end
release_print("11111");
node:runAction(self.ai);
self.ai:setTimeSpeed(1);
self.ai:gotoFrameAndPlay(0,10, false)
release_print("22222");
node:stopActionByTag(1);
release_print("test1")
if self.ai == nil then
return;
end
local map = parent.maps["map13"];
if map == nil then
release_print("111111*******");
end
local node = map.AniNode["tree"];
if node == nil then
release_print("*******");
end
release_print("11111");
node:runAction(self.ai);
self.ai:setTimeSpeed(1);
self.ai:gotoFrameAndPlay(0,10, false)
release_print("22222");
node:stopActionByTag(1);
release_print("test1")