Move
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
use waitmove to pause the thread at that point until it's finished moving
so
local.a = $box1.origin
$box1 time 5
$box1 moveto $target1
$box1 waitmove
$box1 moveto local.a
$box1 move
using this, the box will take 5 seconds to move to the target, then move back to it's original location
so
local.a = $box1.origin
$box1 time 5
$box1 moveto $target1
$box1 waitmove
$box1 moveto local.a
$box1 move
using this, the box will take 5 seconds to move to the target, then move back to it's original location
hope this helps, prob not cos it's all foreign 2 me :-/
