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

[Error] Project 3 Error

Status
Not open for further replies.
Level 2
Joined
Jul 20, 2010
Messages
11
When I try to save while working on Project 3 i get the following error:

Line 174: syntax error
Line 174: Statement outside function

//textmacro instance: End_CodeProject3()//===========================================================================
endfunction
//end of: End_CodeProject3()//===========================================================================
// Trigger: Core Lessons
 
Level 2
Joined
Jul 20, 2010
Messages
11
My bad. But as far as i know i didnt touch it and checked if the spot where i was writing was correct compared to other ones. I will re-download and see if it helps. :p

EDIT:

So i redownloaded the map. Enabled Project 3, saved and i got the same error.

JASS:
//! runtextmacro Function()

//THIS IS WHERE I AM WRITING THE FUNCTION
    
//! runtextmacro End_Code()


//! runtextmacro End_CodeProject3()

Thats correct right?
 
Status
Not open for further replies.
Top