Jump to content

Tiled: PreSetting variables for object in set piece


Recommended Posts

I need to set variable of the custom fence to be in the "ON" mode in the set piece. As this fence is used to protect some treasures. 

I did this:

image.thumb.png.572291ef1f46dc1d8cfd1a42dc0d9cbd.png

But this doesn't seem to give needed results. What am I doing wrong?

Thans in advance.

 

 

P.S. I know that I can make new prefab with fence mode set to "ON" from the begining, but I don't want to go this way, because fences will have a tricky usage. It's 4 colours allign system in both Start, End modes, and I don't want to make 8 prefabs.

 

Edited by Desblat
Link to comment
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
 Share

×
  • Create New...