- Joined
- May 1, 2008
- Messages
- 1,605
Moin moin =)
I just wanted to create a little map for no reason and already having a little problem, without doing anything. I just created a new map, want to save it and a syntax error shows up:
In the error window the "else" is marked and the error message is "line 7118:Cannot convert returned value from real to integer". I checked the trigger editor; nothing. Also also enabled UMSWE and things like that to test if this would fix the problem, but nothing, it's just a new empty map without adding, editing or deleting something.
I think I stood to long out of this scene, since its nothing I know from the past, so please can someone help me a bit here? =D
Thanks - Greetings - Peace
Dr. Boom
I just wanted to create a little map for no reason and already having a little problem, without doing anything. I just created a new map, want to save it and a syntax error shows up:
JASS:
function GetFadeFromSeconds takes real seconds returns integer
if (seconds != 0) then
return 128 / seconds
else
return 10000
endif
endfunction
In the error window the "else" is marked and the error message is "line 7118:Cannot convert returned value from real to integer". I checked the trigger editor; nothing. Also also enabled UMSWE and things like that to test if this would fix the problem, but nothing, it's just a new empty map without adding, editing or deleting something.
I think I stood to long out of this scene, since its nothing I know from the past, so please can someone help me a bit here? =D
Thanks - Greetings - Peace
Dr. Boom
Last edited by a moderator: