How do I make an overlay stay longer after a certain time of looping in that spot. It is just, my overlay is appearing, looping 2 times and then disappearing. I want it to loop 2 times and stay visible.
Can you post your code?
I’m so sorry if you’re expecting me to copy and paste the code. If yes, apparently I can’t do that on mobile. I hope you understand my problem here.
The scene here is, the keycard to fall out from the person’s pocket.
After it’s looped, you’ll want to put “THEN overlay DOOR_KEYCARD shifts to X Y” with X Y being the coordinates you want it to stay at.
When I do this, does the overlay stop going invisible after certain time?
It should, I don’t really understand based off that code why it would be going in invisible in the first place since you haven’t cleared the overlay or changed the opacity.
Yeaah!! Okay I’ll try this on and see if it stays visible. Thankyou very much for your help!!!
it is going invisible bc you put &overlay instead of @overlay and the next line is pause for 2 and thats why its going invisible
Ohhh!! Okay I’ll stop pausing. Now, it stays visible for long, right? Thank you so much!!
no u dont need to stop the pausing just write @overlay instead of &overlay
bc when writing something with & means that the animation or whatever u put with & will do that animation in the same time as the next animation
so if u put:
&CHARACTER is dustoff_neutral_loop
@pause for 2
then it means the character will be dusting off for two seconds
Yeah okayy. After a certain time, how do I stop displaying the overlay?
just set the opacity of the overlay to 0:
@overlay NAME opacity 0 in 0
The door keycard overlay is looping, just like I have coded. But it is looking odd, as if it is not looking as the keycard is falling from the person’s pocket