Jump to content
Sign in to follow this  
Aculaud

How do i get a trigger to countdown from 1 minute

Recommended Posts

Try fill fields countdown min and max with time in seconds.

Share this post


Link to post
Share on other sites

First of all, what do you expect the trigger to activate/display?

You can use a gamelogic with it's waypoints combined with

a trigger, to create a timedelay.

For example:

Create a trigger, activated by west/present

create a gamelogic, and give the gamelogic three waypoints.

Now syncronize the first waypoint of the gamelogic with

the trigger -> gamelogic moves to 2nd waypoint, once the

trigger is activated. At the 2nd waypoint of the gamelogic

you set the timeout to max: 60 min: 60 avg: 60

Waypoint nr. 3 you design, how you want - e.g: use the

waypoint's effect menu to show up a message, or the onactivation field to set variables - etc...

It can also be done easier, but this way works for sure, also

by using this way, you could add more waypoints after nr.3

to let more messages appear and so on.

hope this helps

Share this post


Link to post
Share on other sites
Guest Titanium

in the max min and mid feilds, put 60. that sets it to 1 minute, and will activate in 1 minute

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Titanium @ April 05 2002,22:54)</td></tr><tr><td id="QUOTE">in the max min and mid feilds, put 60.  that sets it to 1 minute, and will activate in 1 minute<span id='postcolor'>

not working either.

Share this post


Link to post
Share on other sites

well, unless the activation method has something to do with it, it doesnt work for me. I'm trying to have a radio alpha trigger be activated and then count down from one minute before the effects are shown.

Share this post


Link to post
Share on other sites

Aculaud: if you want to do this repeatedly, try the

way i explained above, but turn the trigger into a switch

trigger, and also turn it from west/present to a radio-alpha.

Just try it, and you'll see how creative you can use those

gamelogics, once you start to like them.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Aculaud @ April 06 2002,11<!--emo&wow.gif)</td></tr><tr><td id="QUOTE">well, unless the activation method has something to do with it, it doesnt work for me. I'm trying to have a radio alpha trigger be activated and then count down from one minute before the effects are shown.<span id='postcolor'>

Radio Alpha trigger :repatly; on activation : alpha=true

Another trigger : repeatly; condition : alpha

               countdown    : min=max=avg=60

               on activation : your action

            on deactivation : alpha=false

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (DV Chris Death @ April 06 2002,15:12)</td></tr><tr><td id="QUOTE">Aculaud: if you want to do this repeatedly, try the

way i explained above, but turn the trigger into a switch

trigger, and also turn it from west/present to a radio-alpha.

Just try it, and you'll see how creative you can use those

gamelogics, once you start to like them.<span id='postcolor'>

ok, well in that case, i would just like an explaination of what exactly a gamelogic is. For the life of me, i have no idea.

Share this post


Link to post
Share on other sites

OK Aculaud, here's an explanation of what and how you can use a gamelogic for:

Gamelogic's you can choose, where you choose side: east/west/resistance/civilian/empty/GAMELOGIC

You can set waypoints for gamelogic, and they will move

from waypoint to waypoint as soon as the mission starts.

A gamelogic jumps from waypoint to waypoint, with no delay

different to units, which need to drive/walk/fly there.

You can use the condition field, or the activation field in the

same way, like with real units.

Different to other units, gamelogics have two types of

waypoints: AND, OR

In the same way, you can syncronize unit's waypoints with

triggers, or use their effects menu in the waypoints, you can

do it with gamelogics. The difference between the AND - OR

waypoints is: if you syncronize an AND waypoint with 2 triggers, the gamelogic will stay at this waypoint, untill both

triggers have been activated, while using an OR waypoint, only

one of the two triggers needs to be activated.

If you want to use the AND/OR option, then you need to type

into the condition field: this

Also, you can set a timeout in the gamelogic's waypoint - this

means the gamelogic waits at this waypoint, until the timeout

was counted down.

You can also syncronize waypoints of other units with the waypoints of gamelogics. For example: you have 3 eastern groups, and you want them to stay at a specific waypoint, until 3 triggers are activated. Create a gamelogic, syncronize

it's first waypoint with the 3 triggers, and set the type of the

waypoint to: AND, condition: this

Now give it 3 more waypoints after this one, and syncronize each waypoint with one of the eastern groups waypoints (the one, where you want them to wait for the triggers).

Now once the three triggers were activated, the gamelogic

jumps to their next three waypoints, and the 3 eastern groups

start moving. You can also put timeouts into the gamelogics

waypoints, so that (if you want) the groups start moving

not at the same time. You can also build up a dialog, by using

the activation field and simple sidechat/titletext commands,

or activate scripts from there. Also you can use gamelogics for the getpos/setpos command, wherever you placed them,

or let them be by using their waypoints.

The interesting thing is, you don't need objects or units, which

steal performance.

There's a lot of more things, you can do by using gamelogics,

but therefore, i would recommend you to have a look to:

http://www.ofpeditingcenter.com - in their forum to hints and

tips section, or to their tutorial section.

hope this clears something

Share this post


Link to post
Share on other sites

ok, i think i'm knowing what your talking about now. Now, how do i get the timeout thing to work? Iv been fideling with this for a while. and i havent a clue.

Share this post


Link to post
Share on other sites

OK, here's an example (simple one) how to get the

timeout to work, by using a gamelogic.

Create a gamelogic, and place 3 waypoints.

At the first waypoint, you use the effects menu, to create

a message: I'll see you in a minute

At waypoint nr. 2, you setup a timeout of: max: 60, min: 60,

avrg: 60

At the third waypoint you use the effects menu again for a

simple text message: OK i promissed you i'm back in a minute.

Now once you start the mission, the first messge appears:

I'll see you in a minute

.......timeout of 60 second ......

then the next message appears:

OK i promissed you i'm back in a minute

hope this helps

Share this post


Link to post
Share on other sites

ahhhh, ok. this should work! thanks, chrisdeath

Share this post


Link to post
Share on other sites

IT WORKED!!!!! Just like you said to do it! Ok, thanks again, i'm gonna be getting REAL creative with these things. biggrin.gif

Share this post


Link to post
Share on other sites

make sure you put 60 in all the fields

min [60] max [60] average [60]

should work

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  

×