i made something and it works in one map but not in another. Its like when an event happens so for example; u kill a unit and per killed unit a variable goes 1 up. But you want that variable to be limited. So i used an if then else action that if that variable is > 15 he sets that variable to 15.
it should work but for some strange reason it doesn't. anybody knows why?
Practically the same and being the same are two completely different things .... either way those of us attempting to try and help you have no idea what your doing wrong because we cant see your code.
I garentee the editor does math correctly. Therefore the bug falls on you not the editor.
i made something and it works in one map but not in another. Its like when an event happens so for example; u kill a unit and per killed unit a variable goes 1 up. But you want that variable to be limited. So i used an if then else action that if that variable is > 15 he sets that variable to 15.
it should work but for some strange reason it doesn't. anybody knows why?
how about... before telling us the editor has a bug.... you post your code so people can actually tell you what your doing wrong..... something like
topic name = [trigger] I fail at incrementing and limiting the max value Plz help
topic text = actually show us the code for your trigger thats failing..... screen shots are usefull for this.
BTW if you want your max value to = 15 you would need to do
@SouLCarveRR: Go
but its strange because it works on another map and its exactly the same... will check that what but its practically the same way :p
@thommiej: Go
Practically the same and being the same are two completely different things .... either way those of us attempting to try and help you have no idea what your doing wrong because we cant see your code.
I garentee the editor does math correctly. Therefore the bug falls on you not the editor.
@SouLCarveRR: Go
but it works what you told! so thanks!
Of coarse what I told works!
<<Insert Evil Kefka laughter>>
now lock and update the status of your topic