- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Suppose I've got the following library. Will jasshelper delete the function / not put it into the map script if it does nothing?
If it does, how can I fix the library above so it only adds the function foo the the map script if STATE = true?
Suppose I've got the following library. Will jasshelper delete the function / not put it into the map script if it does nothing?
JASS:
library Test
globals
private constant boolean STATE = false
endglobals
function foo takes nothing returns nothing
if STATE then
...
endif
endfunction
endlibrary
If it does, how can I fix the library above so it only adds the function foo the the map script if STATE = true?