• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Possible to reset DayNightModels?

Status
Not open for further replies.
Level 3
Joined
Mar 29, 2008
Messages
59
Im making a map, that when night comes, DayNightModels comes into affect, removing all light except for the light given off by models. Now is their any way to reset it after I go
JASS:
call SetDayNightModels("","")
?
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
No. The first parameter is the terrain lighting, the second is the unit lighting. So to reset it to, say, Lordaeron, you would do:

JASS:
call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
 
Status
Not open for further replies.
Top