Need help with a moving event

#1
So ive got an object to move open for me, lets say its a door. ‎  Smile

I setup the move object to slide it left for me, so ive got it at about '60' in the timer value, and set it to move to 1.00 on the z axis.
How do i set it up so that it returns to its starting position soon after its opened? I tried using 'change active page' in the event to change an AO page event that tells it to move, but it wont work.

Help please :)
Reply

#2
Didnt think id ever have to bump anything here. What happened to the forum...
Reply

#3
Hey Ben,

With your moving lid, do you want it to instantly 'snap' back to a closed position or return gradually as though its being closed?

Depending on that it will makea ‎  major difference in how its done.
- Todd DuFore (DMPDesign)
Site Founder
Reply

#4
If you simply want it to move -1 on the z axis then the way youll want to do it is this.

First event -
on inspection:
if counter(doormove) = 0
move object +1 on z axis
change counter(doormove) to = 1
activate timerA
move forward one leaf

second event
always on:
measure counter(doorreturn) with timerA

third event
always on:
when counter(doorreturn) = 60
move object -1 on the zaxis
change counter(door) to = 0 (this way you can reopen the door now)
move forward one leaf

this way when you activate the door, you have 60 seconds before it moves back in place and it should repeat if you inspect the door object again after it returns.
- Todd DuFore (DMPDesign)
Site Founder
Reply

#5
Sounds fairly straight foward, but i woulda spent ages figuring it out. Thanks Todd. Good job you're active ‎  Wink

Ill try to give it a shot tonight.
Reply

#6
Did this work out for you?
- Todd DuFore (DMPDesign)
Site Founder
Reply





Users browsing this thread:
1 Guest(s)