Expected Variable Name?

T

Toto.

Guest
Ok, so I have a simple function and the global variable in my variables, yet, it says Im Missing A Variable Name. Im completely confused - someone help?

Heres the Function:

JASS:
function Set_SomeGlobalInteger takes nothing returns nothing
    set SomeGlobalInteger = SomeGlobalInteger+1
endfunction


I have an integer variable set as SomeGlobalInteger, exactly how its spelled there, yet it still says Im missing it.

Help D:
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
Upload the map, then. Let's see what's going on here....
 
T

Toto.

Guest
No clue how to upload xD
Fairly new to the site.. sorry..
I feel so retarded..
 

Jazradel

Helping people do more by doing less.
Reaction score
102
These are a few things the normal WE will crash at:

Crashes because of forgotten endif's and endloop's
When saving a map, with unended loops or if statements, the World Editor (WE) will crash.

Invalid integers cause crashes when saving
Invalid integer values, for example rawcodes, can cause a crash upon saving the map in the WE. For example, neither à nor 'à is an accepted value.

Use of single backslashes in filenames causes crashes when saving
Whenever you have a string you want to contain a \ use \\ instead, as a single backslash is used for control. Only one of the two will actually be a part of the string.

Functions that should return something but doesn't do it
If you have a function that should returns something but doesn't it causes crashes when saving.

String character limit
Strings containing more than 860 characters will cause a crash, when saving the map. The solution to this bug, is simply to use concatenation.

Get newgen now and solve all those problems.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top