Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Honorary Mechanic
Posted
Is it possible for behaviours on say 4 objects to work in conjunction with each other.

For instance, I have 4 behaviours say 1-4. Instead of having a delay between 1 and 2, a delay between 3 and 4..... can I have

no 1 begin
no 2 when no 1 ends
no 3 when no 2 ends etc

It means when I set it up and I have to change one they all follow suit instead of having to change 4 behaviors.

Annie
 
Posts: 286 | Location: UK | Registered: September 20, 2005Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
One way to do that is by setting the 'trigger behaviour' in the 'when not active' section of the 'actions' tab in the event editor.

That will cause the chosen object to trigger its event when the current event ends.

For example set up the events like this:

In Obj1:
Trigger event: [mouse select]
End event: [at specified time 500] (500 = 5 seconds)
Actions - When Triggered Active: [your choice]
Actions - When Not Active: [Trigger behaviour Obj2]

In Obj2:
Trigger event: [nothing]
End event: [at specified time 500]
Actions - When Triggered Active: [your choice]
Actions - When Not Active: [Trigger behaviour Obj3]

In Obj3:
Trigger event: [nothing]
End event: [at specified time 500]
Actions - When Triggered Active: [your choice]
Actions - When Not Active: [Trigger behaviour Obj1]

Clicking on Obj1 will cause the sequence to begin. After that, each event will occur 5 seconds after the previous event begins.
 
Posts: 3138 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
Thanks Harpo, got it working. It's great that you can have it on a 'loop' as well, I hadn't got as far as thinking about that but it works well.

Annie
 
Posts: 286 | Location: UK | Registered: September 20, 2005Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
An addition to this Harpo!!

I have the above working perfectly.

On the same project i am trying to do this:

I have a 'snowball' following a linear path, when it gets to the end I want it to stop, hide and in the place it stops show some text. then another snowball follows the same path and gets to the end and shows more text.

I have the 2 trigger events of motion fine by using the time delay but I'm unsure about the text appearing. I'm sure in my mind it is all to do with timing but Confused

Annie
 
Posts: 286 | Location: UK | Registered: September 20, 2005Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
What I would do is first have an event on the snowflake. Have it triggered by time or whatever you need. Then have the end event 'At Path End'.

For the event actions:
set Triggered Active to motion on and visible on.
set Not Active to motion off and visible off and set the Trigger Behavior to your text object.

Then make an event for the text object that has visible on active and invisible on inactive.

That should do it. If you use time to trigger the snowflake be sure to set the 'Not Active' reset trigger to off so it doesn't repeat. Also turning off reset path seems to be needed.

If you want to get fancy you could draw a 'path' and use the 'Follow Object Path' action. Then the snowflake will follow the path.
 
Posts: 3138 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.