diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/scripts/common.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/scripts/common.lua b/res/scripts/common.lua index 35eec22..46f2275 100644 --- a/res/scripts/common.lua +++ b/res/scripts/common.lua | |||
@@ -247,6 +247,10 @@ function PanToSprite(spriteName, length) | |||
247 | camera():panToSprite(spriteId, length) | 247 | camera():panToSprite(spriteId, length) |
248 | end | 248 | end |
249 | 249 | ||
250 | function PanToWarpPoint(warpPoint, length) | ||
251 | camera():panToWarpPoint(warpPoint, length) | ||
252 | end | ||
253 | |||
250 | function WaitForPan() | 254 | function WaitForPan() |
251 | while camera():isPanning() do | 255 | while camera():isPanning() do |
252 | coroutine.yield() | 256 | coroutine.yield() |