• 🏆 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!

[Solved] Whats wrong with this line? Why am I getting this error?

Status
Not open for further replies.
Level 7
Joined
Jun 20, 2007
Messages
255
Im getting an error: Expected an valid argument list.

This is the cause:

call SetDayNightModels("Environment\DNC\DNCAshenvale\DNCAshenvaleTerrain\DNCAshenvaleTerrain.mdx","Environment\DNC\DNCAshenvale\DNCAshenvaleUnit\DNCAshenvaleUnit.mdx")

How do I fix this? Im using this line to make a global lightswitch. But I cant seem to be able to turn the lights on with this. Which means im trying to undo "call SetDayNightModels("","")"

Any help would be appreciated. :)
 
Status
Not open for further replies.
Top