Jump to content
Sign in to follow this  
Tisor

Run an animation when another is started on when another is finish

Recommended Posts

Hi all.

I'm trying to make some custom police stuff for a car. I know there is already some lightbars around, but cannot get access to them, so I cannot figure out how to do this.

I've got 3 selections showing different text:

82d660793e9bd767db37c0ea655b06d9.png

85983bb3850679cacdf61f947dbea3bf.png

cffd5062558b67881e9ae5f42dab7db3.png

By using the hide animation, I want to loop between ALTIS, POLICE, STOP!! while the blue lights on the sides are flashing.

Example of the work here:

1111396623_850215_0000000000_sumario_normal.jpg

131d115civil_guardia5g.jpg

First 2 seconds of this video:

But I want them to go automatic when an user action is do. When the user press "Raise panel", this appears from the trunk of the vehicle (Translation) and then start the loop of flashing lights and text. When they are done, the "Lower panel" and it turn off and go into the trunk again. But want them to be hard-coded in the model, and not in the mission.

What's the best way to do it? Is it possible to make an animation start at the same time that another?? (Would be interesting for some other projects)

Can anyone send me that Whelen Lightbar that's is around from Arma 2 Lifes mods?

Thanks in advance

Edited by Tisor

Share this post


Link to post
Share on other sites

Suspect a solution has something like this in it.

class Sign1
{
type="hide";
source = "time";
sourceAddress = "loop";
selection="Sign1";
minValue = 0; 
maxValue = 1;
hideValue = 0.33;
};
class Sign2
{
type="hide";
source = "time";
sourceAddress = "loop";
selection="Sign2";
minValue = 0; 
maxValue = 1;
hideValue = 0.66;
};
class Sign3
{
type="hide";
source = "time";
sourceAddress = "loop";
selection="Sign3";
minValue = 0; 
maxValue = 1;
hideValue = 0.99;
};

3 signs that are hidden 1 at a time.

3 signs would be sitting in front of each other in an order.

Hide the whole thing when you dont want the sign

Share this post


Link to post
Share on other sites

Thanks Gnat, looking nice. Need to figure out how to make some things like the flashing blue lights but with this shouldn't be that hard.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×