Hello everyone! I am scratching my head over this one and would appreciate some assistance!
I am attempting to create an event that displays a static sprite of a tree. My goal is that I want this event to have a 'detection radius' or 'directional line of sight' that checks for the player's x and y position. If the player is behind the event I want the tree to become semi-transparent. When the player is not behind the event, either to the left, right (if the player is out of the graphic tree sprite) or below to return to normal transparency. Following the events in the demo on this forum: https://forums.rpgmakerweb.com/index.php?threads/direction-based-line-of-sight-events.3452/ I was able to get the event to detect the player when standing behind the tree but I can't figure out how to event it to make the tree solid again when the player leaves the area.
To see a visual representation of what I want, there is this lovely Youtube video but the coding is for MV and I need one for VX Ace.
I have tried the line of sight, but I think I might need a radius instead. I am over my head in the scripting department. If someone knows how to do this, I would love the help! This have been bothering me for ages.
I am attempting to create an event that displays a static sprite of a tree. My goal is that I want this event to have a 'detection radius' or 'directional line of sight' that checks for the player's x and y position. If the player is behind the event I want the tree to become semi-transparent. When the player is not behind the event, either to the left, right (if the player is out of the graphic tree sprite) or below to return to normal transparency. Following the events in the demo on this forum: https://forums.rpgmakerweb.com/index.php?threads/direction-based-line-of-sight-events.3452/ I was able to get the event to detect the player when standing behind the tree but I can't figure out how to event it to make the tree solid again when the player leaves the area.
To see a visual representation of what I want, there is this lovely Youtube video but the coding is for MV and I need one for VX Ace.
I have tried the line of sight, but I think I might need a radius instead. I am over my head in the scripting department. If someone knows how to do this, I would love the help! This have been bothering me for ages.