Jump to content
Sign in to follow this  
Cernu

despawned mount cant unmount ?

Recommended Posts

I am working on creating a "domestication" and "animal riding" knowledge. As long as the player hasn"t discovered animal riding, I want him to be unable to move on a mounted animal. However, I want it to be able to mount it (thus, "learning" how to ride it).

So, in a brutal rigalesque way, I despawn the animal after the player has mounted it. However, it seems that the player is still considered "mounted", that is, I cannot interact with anything, BUT the "unmount" button doesn't exist anymore (while the other buttons, for automove and walk do exist.

This despawn issue needs to be fixed, because at some point, the creature will die, and despawn "naturally", and I will have problem is a player is actually riding the creature.

This might be a bug, and how you people would solve this ?

Edited by Cernu

Share this post


Link to post
Share on other sites

As far as I know, right now, animals cannot get damage while they are mounted... at least from fall damage. I will have to get a partner to test other types of damage with me. If that is true, they will not "naturally" despawn while mounted.

For preventing the player from using the mount to move, I would use this tile instead:

https://community.bistudio.com/wiki/Ylands_Tile_-_Character_controlled_entity

You can either force them to dismount by setting it to none, or do something to the speed of the animal itself while it is being ridden. You can also force them to dismount by setting it to none before despawning the animal ?

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×