English

Forum

Back to OverviewNew post
thelastradio
thelastradio

Timing?

08/03/2010, 18:48
Hi there

I was wondering if there's any way of using Visionaire to time things in the game. For example a timer that will start at the beginning of the game... When the timer reaches 10 minutes - an event will occur...

Any ideas how to use the existing action parts to do this? =)
 
Marvel
Marvel

RE: Timing?

08/03/2010, 23:40
Well, actually this isn't a big deal! wink

Action "Example":

Wait 100ms
Set Value + 1
When Value < 100
jump to action part 1
ELSE
start action part "event"
end action "example"
End


This is the way i did it in Zak2btas wink
 
thelastradio
thelastradio

RE: Timing?

08/04/2010, 10:32
Cool! Thank you so much!! =)
 
Alex
Alex

RE: Timing?

08/11/2010, 23:31
actually I think it is not even necessary to use a loop. Just start an action at the beginning of the game (e.g. game properties - at begin start following action) which looks like this:
pause for 10 min
... special event action parts...

if the event should not occur after a few minutes for some reason you can easily stop the action from another action.
 
Back to OverviewNew post