• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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