If the player is standing facing a 'hiding object' and then interacts with it ... I would like to do the following ...
* Turn transparency ON
* Stop the player from moving UNTIL they interact with the object again
As they would be fixed in place, they would still be officially facing the object so the interaction would be possible. However, I can not seem to do this.
I have the object changing image to reflect that the player is hiding in it - and the player goes transparent and a switch called Hiding is activated too.
Thank you for your help in advance :)
How to achieve a hiding effect?
● ARCHIVED · READ-ONLY
-
-
Can you post a screenshot of your event page(s)? I can probably figure it out if I see the event.
-
No problem!
The transparency and changing the switch work perfectly fine, the only trouble is that the player can move when 'invisible' so it somewhat breaks the illusion!
Sorry I cut off the screenshots, but the first and last event pages are set to Action Button, whilst the second event page is set to Autorun.
Thank you for your help!
-
i am not sure what you need to do but there is an option in Set movement route (2nd page of eventing under movement) which has direction fix, i suppose you can use that to keep character fixed on event, im not sure if it will prevent the player from moving though
-
(im sorry seem i have double posted by clicking refresh ._.)
-
Hi there @Balako, thanks for responding - unfortunately it doesn't stop the player moving.
-
ok, could it be because the self switch is at the beginning in page 1? you could place it at the end, and maybe place auto switch A off at 2nd page insted of 3rd
-
Ohhh, so you want to hide the player in a chest/box/bush. I would use "blocker" events, which are events without images that has Same As Characters Priority. Put three/four of these around the Chest/Box/Bush. On the 1st Event Page, make sure that they use Below Characters Priority. On the 2nd Event Page, give it Same As Characters Priority and have it trigger on your Hiding? Switch. Finally, you want the character to face Upward even if they try to turn around while invisible. Also on the 2nd Event Page, add a Movement Route command that forces the player to Face Up.
-
-
Thanks for coming back to me, I have tried this plugin already but it also seems to stop all keyboard input too.
In pure basics, this would mean the following ...
Player walks up to the chest
Player interacts with the chest
Player goes invisible, hiding switch is turned on, and player can't move or change direction
Player presses the interact button again and he re-appears, the hiding switch is turned off and his movement is unlocked.
I hope that helps. -
-
-
Hi there @Balako, thank you so much for posting this ... unfortunately it doesn't seem to work for me!
I have the chest set up perfectly, exactly as you have shown in the screenshots. However, when I try to use the chest he does nothing.
If I try to use the chest again, he moves up as intended, turns invisible as intended but i am then able to walk around and walk out of the chest.
Any clues? -
oh im sorry, i forgot to tell you to make the tile under the chest out of unpassable tiles like a wall....also 3rd event should be undercharacter not same as character
try if that works!
as you see, i placed a wall under chest (extended it so you can see it)
and modified the events, there was a useless page :D (you can remove self switch A, i forgot to do it, its basically useless i think....)
-
Absolutely perfect @Balako, I added a little tweak to the second page so you emerge where you came from ...
-
yours is better, maybe you want the first page to have move forward insted of move up!!
im glad i was able to help, enjoy your tweaking!! -
maybe you want the first page to have move forward insted of move up!!
Already have done ... but I wouldn't have been able to figure that out without your input! Thanks ever so much!