Hello guys, I'm beginner but already learnt some tricks, switches etc. I have a problem with tree cutting. What i wanted to make is when you cut a tree after a while tree is growing byself. I already did it and worked well. Tree is growing 4 stages. Here is my event codes:
http://imgur.com/a/34zGj
I made stages with self-switch. This was page 1 and options are;
priority- same as characters,
trigger- action button,
Page 2;
self switch A is on;
priority - same as characters,
trigger- parallel process,
codes : wait(600) frames;
control self switch= A off,
control self switch= B on,
Page 3;
self switch B is on;
priority - same as characters,
trigger- parallel process,
codes : wait(600) frames;
control self switch= B off,
control self switch= C on,
Page 4;
self switch C is on;
priority - same as characters,
trigger- parallel process,
codes : wait(600) frames;
control self switch= C off,
Every thing worked well. But when i tried to cut the tree from right side of it, the tree shape changing to second stage of tree(on page 3)
http://imgur.com/wig1cI7
from left side of it changes to third stage(on page 4)
http://imgur.com/TkCOBiy
from upside second stage(on page 2).
http://imgur.com/LwvowA5
It's only working well when you try to cut it from down. PS: My native language is not English. I changed codes to english and write down trasnlation on pictures to make every thing clear.
Ağacı kesmek istiyor musun? = Do you want to cut this tree?
Evet=Yes
Hayır=No