Hello I need a script that show player behind trees, objects like home back.
How I see this script:
# If player go behid object (star symbol in editor), then show transparent picture on player. So player can be shown (like a light in the night) and I know where exactly is player behind objects.
In common event(parallel);
variable map id= Map ID;
variable player position x= Player map X;
variable player position y= Player map Y;
#So I can call it on every map
image[2]=transparentImage.png #Small transparent circle image over the player.
if player is behind an object then show image[2] on player(map Id, Player position x, Player position y);
else
do nothing. #So, script don’t show image[2] on other objects.
I need this function for player to find hidden objects by big trees or huge buldings backgrounds, like chests or missing items.
If anyone can do this script for me, I’ll be very happy 🙂
How I see this script:
# If player go behid object (star symbol in editor), then show transparent picture on player. So player can be shown (like a light in the night) and I know where exactly is player behind objects.
In common event(parallel);
variable map id= Map ID;
variable player position x= Player map X;
variable player position y= Player map Y;
#So I can call it on every map
image[2]=transparentImage.png #Small transparent circle image over the player.
if player is behind an object then show image[2] on player(map Id, Player position x, Player position y);
else
do nothing. #So, script don’t show image[2] on other objects.
I need this function for player to find hidden objects by big trees or huge buldings backgrounds, like chests or missing items.
If anyone can do this script for me, I’ll be very happy 🙂