#255 function needed to get global time

Closed
opened 3 years ago by neatz09 · 2 comments
neatz09 commented 3 years ago

need a lua function for quests/spawns that require specific in-game time ranges to spawn

need a lua function for quests/spawns that require specific in-game time ranges to spawn
image commented 3 years ago
Collaborator

here is a quest that uses game based time https://eq2.fandom.com/wiki/A_Meeting_Interrupted

here is a quest that uses game based time ```https://eq2.fandom.com/wiki/A_Meeting_Interrupted```
image commented 2 years ago
Collaborator

new LUA functions soon

int16 = GetWorldTimeYear()
sint32 = GetWorldTimeMonth()
sint32 = GetWorldTimeHour()
sint32 = GetWorldTimeMinute()

Also

SetWorldTime(int16 years, sint32 months, sint32 hours, sint32 minutes) 
SendTimeUpdate()

sends forced time updates to all clients within zones live with new values set via SetWorldTime commands

new LUA functions soon ``` int16 = GetWorldTimeYear() sint32 = GetWorldTimeMonth() sint32 = GetWorldTimeHour() sint32 = GetWorldTimeMinute() ``` Also ``` SetWorldTime(int16 years, sint32 months, sint32 hours, sint32 minutes) SendTimeUpdate() ``` sends forced time updates to all clients within zones live with new values set via SetWorldTime commands
image referenced this issue from a commit 2 years ago
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.