For Weirdone:
I was just saying that the codes job was done by me, I can claim the codes as mine.
You can claim the idea as yours, it's right. Just do not mix up both.
It's not just a change in the new pack. There are about part of codes on that commands.
2 parts of them were taken from Aero's codes
Other 4 parts was my codes I do the coding myself. (with detector and other things)
So let's make it as easier as this.
Aero can claim the codes as his.
I can claim the codes as mine.
You can claim the idea as yours.
One can have an idea about a cheat command yet other can do the codes.
For JJ's:
function Anything takes nothing returns boolean
if abc==cde then
return true
else
return false
endif
endfunction
yes, I made a mistake without the "s" for returns.
Yet when it reach the line "return" it will return, and stop doing whatever below the lines. Else if is not necessary.
So it should be like this
Code: Select all
Function Anything takes nothing returns boolean
if abc==cde then
return true
endif
return false
endfunction
Aero wrote:Code: Select all
Function Anything takes nothing return boolean
if abc==cde then
return true
endif
endfunction
A map won't even run if there is no valid return value at the bottom.
It should not allow the game to be created from the Create Game menu.
I guess this is only for functions that return boolean?
hmm you are right.
actually it was
Code: Select all
Function Anything takes nothing return nothing
if abc==cde then
return true
endif
endfunction
And this function is then takens by a triggeraddaction(trigger,function Anything)