View Single Post
  #1  
Old 05-24-2015, 03:49 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Question Add Zone SetTime

Hello Ladies/Gents/Trolls,

I am curious how difficult it would be to add an option to manipulate zone time would be? One of many events in a new zone involve vampires turning the day into night (at least I would like them to do so). The snippet below (from xxxxxxxxx) is incorrect as it (quest::settime) affects WORLD time, which is very bad for other zones relying on timed (night/day) events.

Code:
quest::settime(hour, minute) # Sets zone time of day. Sky/lighting changes acordingly.
My weakness in C++ prevents me from providing a very basic, working example for some of you magic people to perfect/improve. Is this possible or would this require HUGE amounts of adjustments?


-Hate

Last edited by joligario; 04-22-2021 at 10:19 PM.. Reason: Wiki deprecated
Reply With Quote