If players are in prop form due to the Prop-o-Matic device when a round ends, they will become resized at the start of the next round. Sometimes, the player floats a bit, preventing them from performing some actions.
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Character
Steps to Reproduce
Start the game, making sure the game has at least 2 rounds
Become a prop with the prop-o-matic device
Let the round timer run out, OR end the round with the āEnd Game Deviceā or āTeam Settings and Inventory Deviceā, so that the game will move on to round 2. Make sure you are still a prop when the game ends.
I added item remover to the EndRound function to remove the Prop-o-matic from players at the end of the round. This cancels prop transformations and prevents size bugs.
Here is the code:
# Add this at the beginning of your prop_hunt.verse code ;
@editable
PropPistolRemover : item_remover_device = item_remover_device{}
# Modify your EndRound function :
EndRound():void=
PropTeam.HeartBeat.DisableAll()
Players := GetPlayspace().GetPlayers()
for (Player : Players):
PropPistolRemover.Remove(Player)
# Get any player to use as an instigator to end the round.
if (RoundEndInstigator := Players[0]):
Logger.Print("Round ended.")
RoundSettings.EndRound(RoundEndInstigator)