29.07.2010, 17:23
I assume the wheel on the vault door is not an object by itself, but rather a part of the vault door, so you can't move it separately.
Get the coordinates of the Keypad then use the function
IsPlayerInRangeOfPoint
then start up the MoveObject's
Then, when IsPlayerInRangeOfPoint returns 0,
use MoveObject's to move the objects back to their original place
Get the coordinates of the Keypad then use the function
IsPlayerInRangeOfPoint
then start up the MoveObject's
Then, when IsPlayerInRangeOfPoint returns 0,
use MoveObject's to move the objects back to their original place