Jump to content
Sign in to follow this  

Recommended Posts

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

 

Share this post


Link to post
Share on other sites

Closed as solved. PM me or report the thread if you'd like it reopened.

Reopened at OP's request.

Share this post


Link to post
Share on other sites

Another problem occured.Tree cutting event trigger starts with action button. And this events' pages(tree growing stages) are parallel process. But now, what i want to make is when player try to cut it at third stage, tree give you +1 log and at stage 4 it give you +3 log. I can't give "action button" trigger. So, any idea what should i do about it ? Even i try with "conditional branch - button press", it didn't work. But i just i tried it if it's work with conditional branch button press, normally i want to do it with action button.

 

 

http://imgur.com/qfQkfMF

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted