UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Is it possible to get Date or Time of the player / computer?

broken avatar :(
Created 2 years ago
by SynthKitten
0 Members and 1 Guest are viewing this topic.
745 views
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 11 March 2015
Last active: 2 years ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
SynthKitten's Groups
SynthKitten's Contact & Social Links
Hi there, is it possible for in a gsc/csc script to be able to get the current date or time of the player/computer? This could be used for example to trigger something in the map based on if it is a specific day, holiday or time.
 
There are a few functions I saw like GetTime but I don't think this is exactly what it was for..
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 12 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
Signature
My published cod maps:

Subzero
Djinncaves
Enclosed (a.k.a baconcube)
Bayern
Snowblind
Furtrelock

Black Ops Perks: https://www.ugx-mods.com/forum/scripts/55/call-of-duty-world-at-war-black-ops-perks/22180/
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
I looked it up but that seems to be a stopwatch that starts counting when the game starts.
 
There is a file called _status.gsc with dates but don't know how it works.
 
I couldn't find anything else about it. :(
 
Last Edit: February 10, 2022, 08:21:48 pm by gympie6
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 11 March 2015
Last active: 2 years ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
SynthKitten's Groups
SynthKitten's Contact & Social Links
I looked it up but that seems to be a stopwatch that starts counting when the game starts.
 
There is a file called _status.gsc with dates but don't know how it works.
 
I couldn't find anything else about it. :(
Thank you regardless. _status.gsc has a lot of interesting things but I for sure don't understand it.
 
I guess I'll have to develop some sort of 'map launcher' that starts the map with different properties depending on the time and season. I wanted to make a halloween event trigger on halloween and so fourth. :)

 
Loading ...