Page 1 of 1
Visibility
Posted: Sat Oct 10, 2015 10:45 am
by enric
Well this is difficult to explain, I'll try
When you load a turn before the replay begins, you are able to see in the map some objects that when its time to take the turn they are not visible.
Is a way to define an object as visible only for one side?
Re: Visibility
Posted: Tue Oct 13, 2015 3:27 pm
by pipfromslitherine
The HIDES tag will hide an object until it is actively seen by each side. Is that what you mean?
Cheers
Pip
Re: Visibility
Posted: Tue Oct 13, 2015 3:40 pm
by enric
This, I think wont do the job.
The situation is, during turn 1 the player may place the mines and he see all of them. When a new turn starts (2) I put all mines at SetObjectScale(id, 10); or less, so they are not visible until some unit enters the tile (then I recover the scale to 100%). The problems come when in the immediate turn (2, the opponent) a greyed map is visible and the mines are still visible, so the opponent has the possibility to see the placement for a while, when he starts really the 2 turn they are hidden and it works normal is just during the part where the opponent has sight on the last opponent turn.