| 03-12-2007, 07:53 AM | #1 |
I've seen no mention of this, but is there any way to find and store for recall the exact time of day (Real time, not in-game) and current date? I know players have a / function to call date and time when on b.net, is there any way for the map to fake it and catch that info? If not, can the map force a player to send the command to the server and catch the results? I have a map that would benefit drastically from this, as for right now, the host needs to input this data. If the map could gather the info itself, then I could do want I want and have it so that if you are not on b.net, then you play the dumbed-down version, and if you're on b.net and multiplayer, then you can get access to a bunch more stuff. |
| 03-12-2007, 08:28 AM | #2 |
try to get time from null timer, BJ uses null timer for tournament time track |
| 03-12-2007, 04:40 PM | #3 |
Also you can try making it so that a computer player sends a chat message so that b-net can then respond with the date/time. Then get the string sent from b0net. I think that might work but on single player i have no clue. There is a function to send a message and I thing that it might work I am not shure tho like I said in my post. |
| 03-12-2007, 05:47 PM | #4 | |
Quote:
[sarcasm]Oh yeah, that will definatly work, seen as though there is a function that orders a computer to type and there is a function to see what comes up on a computers screen[/sarcasm] |
| 03-13-2007, 05:40 AM | #5 |
Well... I'm relatively new to triggers/jass (read: never played with at all)... and, well... I figured that would of worked. :P |
