Jump to content
Sign in to follow this  
RazorHead1

'In game time' and triggers...

Recommended Posts

ok I searched and found posts on time and timers as well as countdown timers. I was wondering would it be possible to allow a trigger to read the game time? Lets say a mission starts at 1300, is it possible to have a trigger read the players 'watch' or 'in game time' so the mission ends at say 1400?? Instead of using a countdown timer?

Share this post


Link to post
Share on other sites

Thanks ProfT..I'll give it try.

---------- Post added at 04:46 PM ---------- Previous post was at 04:19 PM ----------

Ok I am sure it is a small oversight on my part but it is not working. I place a trigger and in the Condition area I have tried all variations of: daytime=the time

ie:

daytime=1400

1400=daytime

14.5=daytime

daytime=14.5

waitUntil daytime=14.5

etc.etc.etc.

Any ideas anyone?

Share this post


Link to post
Share on other sites
Have you tried daytime == 1400?

Yes, because "=" isn't usable as a condition, only "==" is.

Secondly, 14 h time must be written as "14" (daytime == 14)

Share this post


Link to post
Share on other sites

what wil daytime = 14 do as a condition? Will it assign it and always return true? I haven't taken it in like a year or so but I think that's what it does in some languages (C++) if you use 1 = in a condition.

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  

×