It can also remove weapons for some reason.
Does the issue occur in the editor or during gameplay? If it occurs during gameplay, please specify which movement system is being used (free movement or grid movement):
Gameplay, Grid movement
Briefly describe the issue you're experiencing:
Everytime you change the player's character model with "set_entity_model" and change maps it reverts the character model back to the default character and sometimes removes the selected weapon
Are there any errors in the in-game debug console or external console window?
No
Provide the steps necessary to reproduce the issue:
- Change the player model to a different model (eg.
set_entity_model(player, "model");
)
- Change maps
- The player model should go back to default and if there was a weapon selected it may be removed.
Video: