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

[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