Hi , I know some stuff of python but I run in a weird problem that is only inside the bge and not on python by itself
when I put multiple codes after an “if” statement I get an error : unexpected indent
this is my example:
if x == 1:
cont.activate("Start Battle Msg")
cont.activate("act")
else:
pass
it points at ‘cont.activate(“act”)’ and says unexpected indent
if I am not wrong this happens every time I have 2 “actions” together like that not
only inside “if” statements is there anything special I can do for this?
if that fails, use the backspace key, and remove all the indentation, so it all touches the left margin. Then use the [TAB] key to add the indents back
thx the convert to spaces worked, I always use tabs to make spaces (in this specific post I did tab but the 3rd line was a bit on front on this site only not on blender)
thx a lot ;D